Everything posted by rloberto
Ok, I've fixed it !!!! On the live server I went into the Admin page, then into Tools > Server Info. I searched for "DOCUMENT_ROOT" then copy and pasted the value for that field into admin/configure.php and added the catalog directory onto the end of it. define('DIR_FS_CATALOG', '/home2/www/public_html/catalog/'); This fixed both the images folder issue and the modules issue. I have tested installing/removing modules and it's all working ok. I have noticed I am getting an error for the Backup directory not existing, it does exist, and it's listed correctly in the configure.php, but I'm too tired to try and fix it now.
Is the "safe_mode" a setting in their php.ini ? I've just run a phpinfo() on my test server and the live server and found the following lines in the output, exactly the same for both test and live Configuration - PHP Core Directive | Local Value | Master Value safe_mode | Off | Off safe_mode_exec_dir | no value | no value safe_mode_gid | Off | Off safe_mode_include_dir | no value | no value PHP Version Test Server : PHP 5.2.0 Live Server : PHP 4.4.8 Is it possible that it's just a PHP version issue? It would be very annoying if that is the case. I can't see the hosting administrators wanting to upgrade their PHP version to 5.2.0
I am also having this same problem, I also have an issue when I click on the "catalog" option in the menu, it cannot find the "images" directory. Jan, your suggestion regarding the host setting "safe_mode" sounds very logical, as I had tested my implementation 100% on my local testing server, only to find these aren't working since uploading onto the live server. I removed the @ in line 112 of admin/modules.php and it now shows a more detailed error Warning: dir(http://www.<domain name>/catalog/includes/modules/payment/) [function.dir]: failed to open dir: not implemented in /catalog/admin/modules.php on line 112 My live server is administered by a third party company, what should I be asking them to change regarding the "safe_mode" setting? Sorry for my vague question, I don't know much about Unix/Linux web servers.