After installing Magento, I can't upload images

When trying to upload images within Magento, you may be greeted with a popup that contains HTML. If this is the case, you must use the php.ini.sample file provided within Magento (since Saarthi runs PHP as CGI). This behavior is caused by the magic_quotes_gpc setting within PHP. Since we run PHP as CGI, to reset this variable, you do need a php.ini file within your root directory (beside your php files). In fact, Magento provides a php.ini.sample in the root directory of its files in case it is needed. Login to your account through the file manager or FTP and rename php.ini.sample to php.ini. If you get an error about pdo or pdo_mysql, you will need to include the following lines at the bottom of the php.ini - 1. Rename php.ini.sample to php.ini 2. Insert the following lines at the bottom of the php.ini: extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so extension=pdo_mysql.so
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

When I try to install BoonEX 6.1.5, after it completes, it redirects me back to the installation

This issue is caused because the permissions suggested by dolphin at the end of the 6.1.5...

I want to use your Dolphin autoinstaller to install the application in the root directory but it won't let me

The autoinstaller offered from "Site Software" of the cPanel control panel only...

Orca displays a blank page after login

Per a blog entry at BoonEX:Â...

When I try to install BoonEX 6.1.5, after it completes, it redirects me back to the installation

 This issue is caused because the permissions suggested by dolphin at the end of the 6.1.5...