Cannot load images from phone

Cannot load images from phone was created by BuyApet

hi.

After i try to submit a new ad with an image from any cell phone i get the following error.
Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/buyapsih/public_html/administrator/components/com_jomclassifieds/etc/class.upload.php on line 2939
Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/buyapsih/public_html/administrator/components/com_jomclassifieds/etc/class.upload.php on line 2993
Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in /home/buyapsih/public_html/administrator/components/com_jomclassifieds/etc/class.upload.php on line 3011

please assist

Regards
Lew
6 years 2 months ago#3790

Please Log in or Create an account to join the conversation.

Replied by Super User on topic Cannot load images from phone

Dear Customer,

Kindly send the below details to This email address is being protected from spambots. You need JavaScript enabled to view it..So that we will check and fix it.

1. Your site URL.
2. Joomla admin username and password.
3. Your site FTP details.

Thanks.
6 years 2 months ago#3795

Please Log in or Create an account to join the conversation.

Replied by BuyApet on topic Cannot load images from phone

Hi. The error is not displayed any more. But the images still does not upload. It seems to be a image size related issue. You need to make the allowed size to be uploaded larger. Please fix this.
6 years 2 months ago#3805

Please Log in or Create an account to join the conversation.

Replied by Super User on topic Cannot load images from phone

Dear Customer,

Apologies for the delay.

Actually your Hosting provider may restricted the upload size limit in your server. Check the below options to increase it.

Option 1

You can overwrite the php settings by using php.ini in your domain root directory. Open notepad and paste the below code and save the file as php.ini file.
safe_mode = off;
file_uploads = on;session.cache_expire = 4000000000;upload_max_filesize = 1000M;post_max_size = 1010M;max_execution_time = 40000000;max_input_time = 40000000;memory_limit = 1010M;

If it does not work, you may try by placing the php.ini file in your directory which executes upload process.

Option 2

If your server administrator restricted the usage of php.ini then you may overwrite php settings using .htaccess file. Open notepad and paste the below code and save the file as ".htaccess" file and place it in the domain root directory.
php_flag safe_mode off
php_value max_execution_time 1000
php_value session.gc_maxlifetime 14000
php_value output_buffering on
php_value upload_max_filesize 104857600
php_value post_max_size 104857600
php_flag display_errors off

If both the above options does not work, then you may need to ask your server administrator for increasing file upload size.

Thanks.
6 years 2 months ago#3807

Please Log in or Create an account to join the conversation.

Time to create page: 0.151 seconds

Contact us

  No.2/A, Venkateshwara Nagar,
1st Main Road, 100 Feet Road, SBM Towers, Velachery,Chennai - 600 042,India.
 admin@jomclassifieds.com
 skype.jomclassifieds
Copyright © 2013-2020 Jomclassifieds.com. All rights reserved. The Joomla! name, and logo are used under a limited license granted in the United States and other countries.