Jevents 2.x (Free Access)

Migrating from Joomla1.5 to Joomla 2.5

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 ron » Tue Mar 06, 2012 5:28 pm

Hello,
I've read the post about migrating and I've seen the upgradejevents.php file and read how to use.
However, it is described for using with Jupgrade, as a subfolder from the Joomla 1.5. directory.
I've used SP_upgrade as a migration tool and the result after migrating was.... empty Jevents-tables.
My Joomla 2.5 reside in a seperate directory, so not as a subdirectory of Joomla 1.5.

What do I've to adjust in the upgradejevents.php file to get the migration completed?
After following the instructions I just get errors.

Ron
User avatar
ron
 
Posts: 53
Joined: Thu Mar 31, 2011 12:52 pm
Location: Heiloo

Postby Tonyp » Tue Mar 06, 2012 7:44 pm

It should also work with SP_upgrade,

What errors do you get?

It basically reads the original database and imports the events correctly into the new one.
---------------------------------------
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: 23749
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby Tonyp » Tue Mar 06, 2012 7:44 pm

It should also work with SP_upgrade,

What errors do you get?

It basically reads the original database and imports the events correctly into the new one.
---------------------------------------
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: 23749
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby ron » Wed Mar 07, 2012 10:51 am

Hi TonyP,
Jevents Joomla 2.5 Information:
Code: Select all
Joomla : 2.5.1
component_com_jevents : 2.1.11
plugin_search_eventsearch : 2.0.2

Jevents Joomla 1.5 Information:
Code: Select all
Jevents 2.2.11 Stable
Joomla 1.5.25

Thanks for your reaction.
When I activate from the Joomla 1.5 site):
http://localhost/swh/upgradejevents.php


The shown errors:
Warning: require_once(D:\Xamp 1.7.3\xampp\htdocs\SWH\localhost\swh25\includes\defines.php) [function.require-once]: failed to open stream: No such file or directory in D:\Xamp 1.7.3\xampp\htdocs\SWH\upgradejevents.php on line 40

Fatal error: require_once() [function.require]: Failed opening required 'D:\Xamp 1.7.3\xampp\htdocs\SWH\localhost\swh25\includes\defines.php' (include_path='.;D:\Xamp 1.7.3\xampp\php\PEAR') in D:\Xamp 1.7.3\xampp\htdocs\SWH\upgradejevents.php on line 40


At that moment I also was logged on as admin to the Joomla 2.5 site.

As I understand well I just have to adjust the directory for the NEW site.
I did that as follows:
<?php

/**
* @copyright Copyright (C) 2011 GWE Systems Ltd. All rights reserved.
*/
ini_set("display_errors", 1);

/**
* CONFIG
*/
define("NEWSITEPATH","localhost\swh25");
/**
* This path equates to a subfolder of the main Joomla 1.5 site
* Howver - you can create this as a Unix soft link to the Joomla 1.6 site as long as the webserver user has read access to this other installation
*
* To do this you MUST TEMPORARILY comment out these lines of code from librarise/joomla/filesystem/path.php on your Joomla 1.6 installation (reinstate them after the migration)
*
$path = realpath($path); // needed for substr() later
$fullname = realpath($fullname);
*
*
*******************************************************************************************************************

As I interpred the error than I see that my new site has to be a subdirectory of the old site (as stated!!), However HOW do I make adjustments when I don't have a subdirectory but a new directory?
*** VERY IMPORTANT Note that if you are not using JUpgrade you must manually map the usernids of your event creators ****
********************************************************


What are, and where to be found, USERNIDS (Username Id's?)

Ron
User avatar
ron
 
Posts: 53
Joined: Thu Mar 31, 2011 12:52 pm
Location: Heiloo

Postby Geraint » Wed Mar 07, 2012 1:39 pm

The NEWSITEPATH path is relative to the root of your Joomla install. Did you install the Joomla 2.5 site in a subfolder of your Joomla 1.5 site?

It may work if you use "../swh25" but I've not tested that idea
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42799
Joined: Fri Feb 15, 2008 6:14 pm

Postby ron » Wed Mar 07, 2012 3:02 pm

Hello,
I've moved swh25 to a subfolder of swh. I've started the script and as a response I've got:
migrated categories
migrated main tables
updated category references
reset access levels
migrated user permissions

So that should look good. However there where NO Events listed after this operation. As I looked in the database, there are now some old jevent-tables added but the Jevent-tables created at installation time ar still empty. The only new filled tables (at installation time) are:
_jevenst_icsfile and _jevents_categories

Do I have to delete the empty _jevents tables and Rename the "old" _jevent_tables with the correct table prefix??

Ron
User avatar
ron
 
Posts: 53
Joined: Thu Mar 31, 2011 12:52 pm
Location: Heiloo

Postby Geraint » Wed Mar 07, 2012 3:04 pm

no - rerunning the script will create clean data each time.

What JEvents tables do you now have?
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Geraint
 
Posts: 42799
Joined: Fri Feb 15, 2008 6:14 pm

Postby ron » Wed Mar 07, 2012 3:45 pm

In the Joomla 2.5 Database:
New tables:
_categories Empty
_excpetion Empty
_icsfile 1 record
_repbyday Empty
_repetition Empty
_rrule Empty
_vevdetail Empty
_vevent Empty
_jev_defaults Empty
_jev_users Empty

Old (Joomla 1.5) tables
_categories 18 records, these are seen in Back-end
_excpetion 54 records
_icsfile 1 record
_repbyday Empty
_repetition 813 records
_rrule 188 records
_vevdetail 200 records
_vevent 188 records
_jev_defaults 4 records
_jev_users 1 record


So no single event is to be seen in the backend.

Ron
User avatar
ron
 
Posts: 53
Joined: Thu Mar 31, 2011 12:52 pm
Location: Heiloo

Postby Tonyp » Wed Mar 07, 2012 8:22 pm

Are you placing the file in the J1.5 root?

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: 23749
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby ron » Thu Mar 08, 2012 1:09 pm

TonyP,
Yes I did.
The Joomla 2.5 is placed as subfolder and in a different database
User avatar
ron
 
Posts: 53
Joined: Thu Mar 31, 2011 12:52 pm
Location: Heiloo

Next

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 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: Bing [Bot]