Skip to main content

Reply To: How to Increase Max File Size?

ClassiBase classifieds script Forums General help How to Increase Max File Size? Reply To: How to Increase Max File Size?

#1050 Reply

ClassiBase
Keymaster

File size is defined as 2 MB for all images uploaded to ad. if you have 10 images then it is 200Kb per image. if you have 5 images then it is 400kb. if 2 images then 1 MB . to change this limit you have to edit /sys/app/models/Adpics.php file, upload() menthod. on line 129 edit $upload_config['max_size'] = '2000'; value change to 20000 or any value you want.
These changes will be deleted on script update so remember this when updating script.
Alternatively you can use vqmod to make changes to files on the fly. but you have to do it on your own because it requires advanced php knowledge and we cannot provide support for vqmod.

  • Classifieds Business Newsletter

    Get discounts and tips about growing your classifieds website.

    Subscribe