Jevents 2.x (Free Access)

Migration script - invalid argument supplied for foreach()  Topic is solved

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby tracysanz » Sun Oct 28, 2012 3:45 pm

When I try to run the script, I get the following. No events or categories show up in the 2.5 site.

Warning: Invalid argument supplied for foreach() in /home/allisons/public_html/sitename25/upgradejevents.php on line 131
migrated categories
migrated main tables
updated category references
reset access levels
migrated user permissions
migrated categories
tracysanz
 
Posts: 62
Joined: Wed May 21, 2008 6:39 pm

Postby tracysanz » Sun Oct 28, 2012 3:50 pm

If i try the upgradejevents1_5, I get the following instead:
Warning: Invalid argument supplied for foreach() in /home/allisons/public_html/site15/upgradejevents.php on line 133
migrated categories
migrated main tables
updated category references
500 - Table 'allisons_site25.htfxj_jevents_icsfile' doesn't exist SQL=UPDATE htfxj_jevents_icsfile set access=access+1
You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
Please try one of the following pages:

Home Page
If difficulties persist, please contact the System Administrator of this site and report the error below..

Table 'allisons_site25.htfxj_jevents_icsfile' doesn't exist SQL=UPDATE htfxj_jevents_icsfile set access=access+1
tracysanz
 
Posts: 62
Joined: Wed May 21, 2008 6:39 pm

Postby Tonyp » Sun Oct 28, 2012 7:26 pm

Hello,

1. Make sure you have the latest version of Joomla! 1.5.26
2. Make sure you have installed the latest version of JEvents either 1.5.6 or 2.2.8.
3. Make sure you are running the script from your Joomla 1.5 installation base directory.

Regards
tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23639
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby tracysanz » Sun Oct 28, 2012 7:55 pm

I have joomla 1.5.26 on the source site, and Jevents 2.2.8.

The new site is joomla 2.5.7 and jevents 2.2.8

I'm running the script from the joomla 1.5 site

Should the jevents on the 1.5 site be 1.5.6 instead of 2.2.8?
tracysanz
 
Posts: 62
Joined: Wed May 21, 2008 6:39 pm

Postby Tonyp » Sun Oct 28, 2012 8:18 pm

Hello,

No, everything sounds correct. Did you dump all the JEvents tables from the 2.5 site before running the script.

Also, make sure multi-category support on the new 2.5 site is NOT enabled.

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23639
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby tracysanz » Sun Oct 28, 2012 9:12 pm

Thank you - the problem was enabling multi-category events on the 2.5 site. I disabled that and started again and was able to migrate the data.
tracysanz
 
Posts: 62
Joined: Wed May 21, 2008 6:39 pm

Postby Tonyp » Mon Oct 29, 2012 11:33 am

Now if you re-enable multi-cat support now that data has been migrated it will update the old events to support multi-categories.

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23639
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man


Return to Jevents 2.x (Free Access)

cron
  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users