Friday, 10 June 2016
  23 Replies
  2.5K Visits
0
Votes
Undo
Hello there,
I'm an engineering student doing an internship this summer and I was told to migrate their old joomla! 1.5 to 3.5 as well as their JEvents module.

I followed step by step the Joomla 1.5 to 2.5/3.x Migration but can't seem to make it work.
I did :
- upgrade JEvents to 2.2.9 on Joomla! 1.5 and got the latest version for the 3.5 site.
- drop all tables in the 3.5 database linked to JEvents
- i own the two database so i skipped part 3 (all boxes checked on mysql)
- no plugins so i skipped part 4 too
- my 3.5 Joomla! site is at http://xxx.net/v3.5 and my 1.5 one in http://xxx.net/v1.5
=> I changed define("NEWSITEPATH", "../v3.5";);

However, when I run upgradejevents.php I get two message boxes ('message successfully sent') but 3 errors :
- Notice: Undefined index: dbprefix in /home/glecam/public_html/stage/v1.5/upgradejevents.php on line 100

- Notice: Undefined index: db in /home/glecam/public_html/stage/v1.5/upgradejevents.php on line 101

- Notice: Undefined index: db in /home/glecam/public_html/stage/v1.5/upgradejevents.php on line 106

As well as 0 _Could not find template "isis".

What did I do wrong during the process ? Do you have any ideas how to fix the problem ?

Thank you in advance for your answers and I apologize for any mistakes made during this writting.
Friday, 10 June 2016 10:52
·
#171974
0
Votes
Undo
Where is your upgradejevents.php file placed? That error means the system is not able to find the old configuration file.
Friday, 10 June 2016 11:00
·
#171975
0
Votes
Undo
Thank you for your quick answer, my upgradejevents.php is placed in http://xxx.net/v1.5/ where all joomla! directories are as well as the configuration.php
Friday, 10 June 2016 11:50
·
#171976
0
Votes
Undo
Let's see what happens then. Please add this code:


$config = var_dump($oldconfig);die('END');


After line 87 which says:


$config = JFile::read($oldconfig);


and you should see a prefix variable there.
Friday, 10 June 2016 12:26
·
#171977
0
Votes
Undo
No prefix variable there, I get a :
string(53) "/home/glecam/public_html/stage/v1.5/configuration.php" END
Friday, 10 June 2016 15:02
·
#171978
0
Votes
Undo
Sorry I messed it up. Please undo previous changes and apply these:

var_dump($config);die('END');


After line 87 which says:


$config = JFile::read($oldconfig);
Friday, 10 June 2016 15:29
·
#171979
0
Votes
Undo
This time, I get an empty text as follows :
string(1665) "" END
Friday, 10 June 2016 16:08
·
#171980
0
Votes
Undo
Ok, we are getting there. That means the upgrade script is not able to find your old site configuration file. Can you please check that configuration.php file exists and has proper permissions for the script to read at the path:

/home/glecam/public_html/stage/v1.5/configuration.php

?
Monday, 13 June 2016 07:57
·
#171981
0
Votes
Undo
Sorry, I was unavailable during the weekend.
I checked all permissions and granted them all and that didn't seem to solve the problem at all (I have even gotten an "internal server error";).
Monday, 13 June 2016 09:39
·
#171982
0
Votes
Undo
Hello,

Can you please enable Joomla! Maximum error reporting and try again? Do you get an error message now.

Many thanks
Tony

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!Join the JEvents club today!

Monday, 13 June 2016 10:07
·
#171983
0
Votes
Undo
Done. I get still the same messages as when I opened this post.
Is there anything that could prevent the script from reading the configuration.php (such as .htaccess) ?
Monday, 13 June 2016 10:29
·
#171984
0
Votes
Undo
Hello,

Where did you download the script from? line 100 is:

// options uses prefix and NOT dbprefix

Which is nothing. It should be from:
https://www.jevents.net/download-area/j ... -migration

And to confirm, your J3.x site is within your J1.5 site i.e.:

<!-- w -->www.mysite.com/1.5/3.x/<!-- w -->

And has been setup and is a functional Joomla! Install.

Many thanks
Tony

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!Join the JEvents club today!

Monday, 13 June 2016 10:40
·
#171985
0
Votes
Undo
I downloaded the script from that address : https://www.jevents.net/download-area/i ... -migration as i was following the migration guide.

My 3.5 joomla! site isn't inside my 1.5.26 one, this is why I changed the define("NEWSITEPATH", "../v3.5";) during the step 4 of the guide.

Thank you for your time
Monday, 13 June 2016 10:44
·
#171986
0
Votes
Undo
Hello,

Providing it's on the same site it should work. Can you add:

var_dump($this->config_old);die;

After:

foreach ($lines as $line)
{
$this->getConfigField('host', $line);
$this->getConfigField('user', $line);
$this->getConfigField('password', $line);
$this->getConfigField('db', $line);
$this->getConfigField('dbprefix', $line);
}


What does that show
?
Many thanks
Tony

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!Join the JEvents club today!

Monday, 13 June 2016 10:50
·
#171987
0
Votes
Undo
It's actually the same site at the exception that the database for 3.5 misses all JEvents ones.

After putting your code, i get a :
array(1) { ["driver"]=> string(6) "mysqli" }
Monday, 13 June 2016 10:53
·
#171988
0
Votes
Undo
Can you send me FTP and super user logins for both sites so I can run some tests?

Thanks
Tony

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!Join the JEvents club today!

Monday, 13 June 2016 10:57
·
#171989
0
Votes
Undo
As I am working for a city hall, I don't think that I am able to share these with you as it contains users and and contents of the city.

Is there no other way ? (scrennshots ?)
Monday, 13 June 2016 10:59
·
#171990
0
Votes
Undo
Can you send me a backup of your J1.5 site with the likes of akeeba so I can try the migration locally to determine the cause?

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!Join the JEvents club today!

Thursday, 16 June 2016 09:09
·
#171991
0
Votes
Undo
I didn't get how to send files in a private message. Do I have to use html tags ?
Thursday, 16 June 2016 12:38
·
#171992
0
Votes
Undo
There is no way to send the files in private message. You can either use an FTP account or an external service like Dropbox and provide a link to the backup file, either send them by email.
Thursday, 16 June 2016 13:41
·
#171993
0
Votes
Undo
Thanks for the answer, where can I found Tonyp e-mail address ? (I can't access user profiles)
  • Page :
  • 1
  • 2
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.