No Input File Specified Error | GoDaddy

Thursday, 16. August 2012

What’s up with GoDaddy!!

Another issue with Godaddy servers while moving a site. Issue arises when we tried to connect to Magento admin.

Looking at the main .htaccess file, I noted that there were some entries specific for Magento on Godaddy that have been commented out by default.

Open the .htaccess file and look for content similar to this one below:

## GoDaddy specific options
 
#  Options -MultiViews   
 
## you might also need to add this line to php.ini
##     cgi.fix_pathinfo = 1
## if it still doesn't work, rename php.ini to php5.ini

Simply uncomment:

## GoDaddy specific options
  Options -MultiViews

Refresh your site. If problem continues, add the next entry in your php.ini or php5.ini file as it same in the comment.

You may also want to try and set up the

RewriteBase /

I have also noted, you may have to wait for about 15 to 30mins for changes to take effect. I have also read somewhere, it may take up to 24 hours to gain browsing consistency

Enjoy!

Database Export Error domains_databases_phpMyAdmin_export

Wednesday, 1. February 2012

Came across this error today while trying to export the database via PhpMyAdmin and took sometime to reliaze that the error had nothing to do with the actual file but rather the fact that the Db itself was of high size to be exported with the current settings on the server, notably memory size

Solution:

Simply increase your memory_limit as to something a big.

This can be found in your php.ini for the server – probably /etc/php.ini

Locate and change: memory_limit = 128M – to big amount as is possible for your server.

Enjoy!

Disable suhosin on the server using php.ini or .htaccess files

Sunday, 30. October 2011

If you ever wanted to disable certain Suhosin settings at a domain level, these 2 methods may be of help to you

Disable suhosin Using php.ini file

1) Login to the server as root and copy php.ini file to the root folder of the domain in question. Usually, this command should work for you.

[[email protected]]# cp /usr/local/lib/php.ini /home/<username>/public_html

2) Open the php.ini file and add the following code to the file:

[suhosin]
; Misc Options
suhosin.simulation = On
#On = Disabled, Off  = Enabled

3) Save and quit the file. Restart apache.

Disable suhosin Using .htaccess file

1) Locate and open the .htaccess file of the domain in question – possibly via FTP or CMD.

2) Now enter the following code in the file.

php_flag suhosin.simulation On

NOTE:
If suphp is in action on the server, you may also need to add this to your .htaccess.

<Files ".ht*">
deny from all
</Files>
suPHP_ConfigPath /home/username

4) Save and quit the file. Restart apache.