Did you make changes to your htaccess file, your php.ini, or did your provider change any settings there?
Printable View
Hi,
Yes, I did. I followed the instruction from this tutorial when changing the admin folder name:
https://www.zen-cart.com/tutorials/index.php?article=33
After changing the admin folder everything works well. After some time i noticed the issue with the IM mentioned above.
I had a backup file of the configure.php from MYADMIN/includes/ and i restore the admin name to default. Still no change, i have the same error with my IM.
I'm not sure if the error comes from renaming the admin. I just recall being the last modification I had made on my website before the IM error ...
No, I did not made any changes to htaccess. As per php.ini i don't even know where is it or where to find it.
I do however have a reseller account on my provider server due to multiple domains host there. I had some changes lately like:
- ask my provider to disable safe mode for another different domain where I have a drupal instalation and some modules are not running with this feature. But he confirm me that safe mode was disable only for that different account.
- i changed the password from WHM page for this domain we are talking about at the same time as i change the admin folder name. As told, i reverse the name of the admin folder back to "admin" and restore the changes in configure.php using the backup file made previous to this change. I did not change back the password from WHM...I really don't think i recall the old one..
Do you think this might be the problem?
Any ideas?
Thanks
I just found another error:
Success: The database has been saved.
Warning CAUTION: Your /admin/ foldername should be renamed to something less common, to prevent unauthorized access.
Error ERROR: This backup script seldom works when safe_mode is enabled or open_basedir restrictions are in effect.
If you get no errors doing a backup, check to see whether the file is less than 200kb. If so, then the backup is likely unreliable.
This is from the module Database backup that i use. I did not have this error before... Do you thing might be related? Is there a relation between safe_mode and open_basedir restriction?
Thanks
Both safe mode and basedir restrictions put limitations on what PHP scripts can do. I don't oversee what impact safe mode set to on has on Zen-Cart, but both IM and the backup addon cannot function normally with the basedir restriction set to on. This prevents a script from accessing parts of the filesystem, and both addons need access to create files.
I begin to suspect that your ISP has changed these settings, causing the problems you have now.
If you run server info from the admin interface of Zen-Cart, and lookup open_basedir, you can see what setting is in effect right now. The same applies to safe_mode.
I just did and the results are:
open_basedir /home/MYUSER/:/usr/lib/php:/usr/local/lib/php:/tmp no value
PHP Safe Mode: Off
No value for open_basedir means set to one?
I will talk to my ISP to make the changes and post than a reply with the effects. Thanks!
Can anyone please help with this error in image manager?
I get this errors like 50 times before the images are showing up. I have to scroll down if I like to change something.
------------------------
Warning: Division by zero in / naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 283
Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 232
Warning: Division by zero in /naspex.info/spiritwear/designer.t-shirt.tshirt.tee/admin.naspex.13/includes/functions/extra_functions/function_image_manager.php on line 327
Folder rights are sufficient
------------------------
I Install Image Manager on zencart 1.3.9h Upload fills and SQL.
If anybody has an idea how I can fix it.
Thanks!
Hi,
In your configuration settings, look for Images -> Small Image Height, and Images -> Product Info - Image Height. I suspect both are either not set or set to 0. They should contain a numeric value greater than 0.
In the next version of IM I will add a check for correct configuration values of the image sizes.
Boudewijn