Post by st_man » Fri Jan 16, 2015 12:00 pm

I am trying to update to 2.0.1.1 on my computer (xampp). I read the instructions but they are not clear. Some parts can be interpreted differently.
I am opening zip file with pzip.
I go to the upload folder and choose all the files.
I extract to OC root, however it creates a folder opencart-2.0.1.1 with upload folder in it and all other file in upload.
Is that the way it is suppose to work or is it suppose to extract the selected files directly to the root?

Anyway I then copy/paste the files in upload folder to my OC root. Then I get the "skip/replace files with same names" dialog box. What do I choose? Should I never get that box in the first place?
After all this when I go to //oc/install I get this error "Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\dicoc1564\system\library\db\mysqli.php on line 18".

What am I doing wrong?
Can someone please help?
Thanks

New member

Posts

Joined
Sun Jan 26, 2014 6:13 am

Post by melbagnato » Fri Jan 16, 2015 12:29 pm

Let's start by assuming that you have backed up your site.

Firstly, the files in upload are the files that are for the root directory. You can replace the old ones with the ones that come with the new version.

Your error is related to a database timeout, which is another issue all together. Can you paste your error.log file contents here ?

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by st_man » Fri Jan 16, 2015 8:42 pm

Went back and gave it another shot. Got to the page that said "upgrade". Hit continue and got this, "Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\dicoc1564\system\library\db\mysqli.php on line 18".

If that is not what you want please tell me where the file you want is located and I will post.

Can you help?

New member

Posts

Joined
Sun Jan 26, 2014 6:13 am

Post by st_man » Fri Jan 16, 2015 10:06 pm

Is this what you need?
This is from an error log.txt file.
It had stuff from past days but I have copied only today's failure.

2015-01-16 3:34:46 - PHP Notice: Error: Could not load language default! in C:\xampp\htdocs\dicoc1564\system\library\language.php on line 39
2015-01-16 3:35:01 - PHP Notice: Error: Could not load language default! in C:\xampp\htdocs\dicoc1564\system\library\language.php on line 39
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\dicoc1564\system\startup.php:57) in C:\xampp\htdocs\dicoc1564\system\library\session.php on line 12
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:31 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\dicoc1564\system\startup.php:57) in C:\xampp\htdocs\dicoc1564\system\library\session.php on line 12
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 53
2015-01-16 13:33:32 - PHP Notice: Use of undefined constant DIR_MODIFICATION - assumed 'DIR_MODIFICATION' in C:\xampp\htdocs\dicoc1564\system\startup.php on line 57


Thanks for your help.

New member

Posts

Joined
Sun Jan 26, 2014 6:13 am


Post by melbagnato » Sat Jan 17, 2015 4:38 am

Have you configured the config.php from the new version or are you still using the old one?

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by st_man » Sat Jan 17, 2015 10:42 am

No. I thought the update instructions said to not overwrite the config.php files.

Is that not right?

New member

Posts

Joined
Sun Jan 26, 2014 6:13 am

Post by rajendrap » Tue Aug 30, 2016 1:40 pm

I am also facing the same error while upgrading open cart. Did you get any solution?

Newbie

Posts

Joined
Tue Aug 30, 2016 1:30 pm
Who is online

Users browsing this forum: No registered users and 5 guests