I have been creating a Joomla 3.3.0 site on my local pc using XAMPP / PHP Version 5.4.7 and I have had no issues whatsoever. However today I tried to move my site to a live shared hosting environment and encountered some issues.
The migration itself was fine, using Akeeba Kickstart I was able to transfer my files and database, and the website does infact appear to be working fron the front-end. However when logged into the /administrator area of my site there is an error displayed at the top of my Joomla interface "Your host needs to disable magic_quotes_gpc to run".
My host is running php 5.4.x (BT web hosting)
I also notice that some of the admin functionality is missing, eg - I cannot set my website to be offline, another error message appears about tables not being writeable (I don't remember the exact message). I have since set my site to be offline by editing the configuration.php file.
I have ready that adding magic_quotes_gpc = Off to my php.ini file but there is no change. I have yet to follow this guide http://docs.joomla.org/How_to_turn_off_magic_quotes_gpc_for_Joomla_3 However this is my next step - I will post an update.
Why does this error appear, and what does it mean exactly?
--
Update 1
Deleted everything and started again, I can now see this error message in Akeeba while trying to restore.
IMPORTANT! You are restoring on a server with a different PHP version than the one you used to back up your site.
Your original site server's PHP version was 5.4.7 and your current PHP version is 5.3.28. Please note that different PHP versions may have differences which can cause your extensions (components, modules, plugins, libraries and templates) to not work properly. In these cases the restoration will complete without an error but your site may not display correctly or not load at all. Unfortunately, we cannot provide support for these issues. You will have to check that all of your extensions support PHP 5.3.28 before attempting to restore your site on this server.
--
Update 2
I have now resolved the "Your host needs to disable magic_quotes_gpc to run" error by adding the lines below to my .htaccess file
<IfModule mod_suphp.c>
suPHP_ConfigPath /home/myusername/public_html/yourJ3folder
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>
I also had to create a php.ini file and add it to my root folder and add the following lines
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
However now I don't seem to have write access to make any changes in the admin area - could this be related. The error I get is as follows (when tyring to set the site to be offline)
1044 Access denied for user 'MyUser'@'%' to database 'MyDb' SQL=LOCK TABLES
ix5ta_assets
WRITE