The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Thu Jun 21, 2012 3:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 21, 2012 3:05 pm
Posts: 5
Hi there!

I'm pretty new to Joomla! but have been working with Drupal and anything php and LAMP for a number of years. A client really wants to use Joomla! which is why I'm working on building a site using this. Things have been working out fine except now that I'm trying to transfer my site from one computer to another one. Kind of a test run for when I'm putting the site online. Both are iMacs running XAMPP 1.7.2a, identical vhosts setup, databases, ... All I've installed for Joomla extensions is K2 for categorizing my content. Everything else is out-of-the-box.

What I did for the transfer is to zip up the root folder of my Joomla installation on system_a and exported the whole database using Sequel Pro. I put both files on a USB stick, go over to system_b, unzip the Joomla files to the system_b root folder and import the database, again using Sequel Pro.

The front end as well as the administrator load, except there are errors. Displaying a page on my front end brings up this error:
Code:
Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/test_page/libraries/joomla/database/database/mysql.php on line 383


I can log into the administrator, but right away on the initial page of the administrator is this error message:
Code:
Warning: Invalid argument supplied for foreach() in /Applications/XAMPP/xamppfiles/htdocs/test_page/administrator/modules/mod_menu/tmpl/default_enabled.php on line 186


Hovering over "Menus" shows, that none of the menus I created on system_a are available in system_b. Trying to go to the "Global Checkin" page displays a large number of the "mysql.php on line 383" errors - pretty much every admin page has some *.php on line XYZ on it.

Question is: Did I miss something when I transferred the website over to system_b? All guides I found online just explained how to transfer the web folder and export/import the database. Not sure what I am doing wrong...

Thanks in advance for taking the time reading my post and hopefully trying to help :-)

Cheers!
Dekan


Last edited by humvee on Sun Jun 24, 2012 11:28 am, edited 1 time in total.
Marked Resolved


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 3:30 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14709
Location: Kent, England
There were issues with Joomla 2.5.5 and this has now been updated further with Joomla 2.5.6.

  1. Make a backup of your site and database files.
  2. Run the Update manager again and
  3. Then go to Extensions =>Extension Manager -> Database tab and CLICK the Fix button to make sure the database is up to date too.

EDIT

I also note that you are using quite an old version of XAMPP it is currently 1.7.7 (yours 1.7.2) PLUS
XAMPP is not really recommended (even by its developers) for the Mac OSX, you should be looking at MAMP instead.


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 3:31 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14709
Location: Kent, England
[Mod note: Moved from General Forum to Upgrade Forum;]


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 3:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 21, 2012 3:05 pm
Posts: 5
Thanks so much for the speedy reply! I'll run the upgrade on my system at home tonight to see if that works for me.

I just checked the XAMPP website (http://www.apachefriends.org/en/xampp-macosx.html#849) and their latest version for Mac OSX seems to be 1.7.3.

I haven't switched to MAMP since my XAMPP installation is setup quite nicely and is running a fairly big number of sites via virtual hosts. I'll have to tacle this at some point though :-)

Thanks again! I'll post back tonight with what I find out!


Top
 Profile  
 
PostPosted: Thu Jun 21, 2012 3:46 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14709
Location: Kent, England
the_dekan wrote:
I just checked the XAMPP website (http://www.apachefriends.org/en/xampp-macosx.html#849) and their latest version for Mac OSX seems to be 1.7.3.

That would be because it is not as well supported by their developers then ;) will wait to hear from you.


Top
 Profile  
 
PostPosted: Sat Jun 23, 2012 6:52 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 21, 2012 3:05 pm
Posts: 5
Hello again,

I upgraded my local site from Joomla 2.5.5 -> 2.5.6 and then set up an online server to publish my staging server to. No error messages on either of the sites. It really was a bug in version 2.5.5 and had nothing to do with XAMPP.

Thanks so much for your speedy help, Andy! I can get back to work now :-)


Top
 Profile  
 
PostPosted: Sun Jun 24, 2012 11:27 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14709
Location: Kent, England
You are welcome, but I would still recommend updating XAMPP to 1.7.7.


Top
 Profile  
 
PostPosted: Sun Jun 24, 2012 1:51 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 21, 2012 3:05 pm
Posts: 5
Not sure if I'm looking at the wrong link, but as far as I can see there is no 1.7.7 for Mac. 1.7.3 is the latest version on apachefriends.


Top
 Profile  
 
PostPosted: Sun Jun 24, 2012 3:23 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Wed Aug 17, 2005 10:27 pm
Posts: 14709
Location: Kent, England
:-[ OOOPS :-[

Sorry I forgot you had already responded to this. I knew there was a good reason I stopped for some lunch!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group