Post by duccccky » Fri Oct 20, 2017 9:20 pm

I am trying to upgrade from version 2.3.0.2 to version 3.0.2.0 and after uploading everything, when I go to http://<mysite.com>/install I get "This page isn't working. <mysite> is currently unable to handle this request. HTTP ERROR 500

did I do something wrong? All I did was upload the files and folders.

Please help if you can.

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Fri Oct 20, 2017 9:32 pm

In your web error logs, what is the error message described related to the error 500?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Fri Oct 20, 2017 11:46 pm

I can't seem to find an error log. I've been all thru my site's cpanel.looking at anything that mentions anything about error and nothing says anything.

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Fri Oct 20, 2017 11:54 pm

Something went wrong during the upgrade process. Restore backups and database.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Sat Oct 21, 2017 12:28 am

ok everything is restored. do I try again or what?

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Sat Oct 21, 2017 1:26 am

Trying the same process will not resolved the issue until knowing why the last operation did not completed successfully. This may be caused by installed extensions. However, troubleshooting steps would be required in order to successfully complete the upgrade process. If you are not sure on how to proceed with troubleshooting, you can request for professional assistance in the Commercial Support section of the forum.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Sat Oct 21, 2017 1:52 am

I do have extensions installed. Should I take them out then try if you think that's the problem?

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Sat Oct 21, 2017 2:00 am

Before considering an upgrade operation, always check if your extension publishers do provide an available version for more recent versions of Opencart and if it does correspond to the version number that you are about to upgrade your store into. When available, make a full backup of your store, including database.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Sun Oct 22, 2017 8:38 am

OK this is the progress I've made. I took off all extensions except catalog and default theme. This is what I'm getting:

This page isn’t working

motorhead69.us is currently unable to handle this request.
HTTP ERROR 500

In Error logs, this is what I'm seeing:

[Sat Oct 21 19:07:45 2017] [error] File does not exist: /home/motorhea/public_html/store/admin/view/image/payment/Wechat.png, referer: https://motorhead69.us/store/admin/inde ... pe=payment

Thing is I can't think of a payment method that would have had Wechat.png. After restoring my website, I see I had Cash on Delivery installed but disabled, Free Checkout installed and enabled, and Paypal Express Checkout installed and enabled.

Any ideas?
Last edited by duccccky on Sun Oct 22, 2017 9:42 am, edited 1 time in total.

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Sun Oct 22, 2017 9:20 am

Any ideas?
Yes. This file does actually exist. Source of execution in admin/language/en-gb/extension/payment/wechat_pay.php file:

Code: Select all

$_['text_wechat_pay']                = '<a target="_BLANK" href="https://pay.weixin.qq.com"><img src="view/image/payment/Wechat.png" alt="Wechat Pay Website" title="Wechat Pay Website" style="border: 1px solid #EEEEEE;" /></a>';
Although, for an unknown reason, this key definition does not seem to reflect from any controllers, models or library files. The error you're encountering is due to missing files that were not completely uploaded during your transfer. Although, it is part of Opencart in the indicated path of the error message normally. Ensure that wechat pay module is not enabled and see if this error message persists.

In the mean time, I would suggest to deflate your files from a ZIP file under your host console rather than using FTP. This methodology avoids on loosing files or involving any corrupted files during the ZIP extraction. If you did not upgraded yet but only disabled some extensions, then one or many extensions had an improper installation process before you decided to either disable or uninstall them. At this point, I would suggest to restore backup of your database.

Note: From your post above, better to remove the user_token in the URL you posted with the error message.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Sun Oct 22, 2017 10:36 am

OK I tried first without removing any extensions and unzipping on the server. I still got the same error:

This page isn’t working

motorhead69.us is currently unable to handle this request.
HTTP ERROR 500

but there wasn't anything in the error log. So then I decided to remove some of the extensions. I left Paypal Express Checkout installed and enabled in payments. I have never had Wechat Pay installed or enabled. it still wasn't before I ran this last check. I'm puzzled about this whole thing.

Any other ideas?

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Sun Oct 22, 2017 11:07 am

See in your error_log file from your domain on your FTP if noticing a recent error 500.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Sun Oct 22, 2017 11:17 am

the only thing filling my error log on my server is file missing. and that file is wechat.png. there is nothing about an error 500. that's why I started removing extensions to see what would happen and that's when I started getting the file missing. there is nothing new on the error log on my ftp. the last thing mentioned for any error on my ftp was way back in May.

I'm puzzled still. I'm going to keep plugging away at it till I get it to work or I go insane, whichever comes first lol.

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Sun Oct 22, 2017 8:59 pm

Have you applied the latest patches regarding the extensions either from the Bug Reports or from Github?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Mon Oct 23, 2017 12:14 am

not yet. I suppose that shall be my next step!

Onward I go!

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by Jose Medellin » Mon Oct 23, 2017 12:27 am

Buenas tardes, tengo un problema, mi página no me abre, me marca el error http 500. En mi base de datos me marca lo siguiete el archivo error_log:

[21-Oct-2017 23:02:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Loader::library() in /home/p1530008/public_html/tienda/system/library/openbay/ebay.php:146
Stack trace:
#0 /home/p1530008/public_html/tienda/system/library/openbay/ebay.php(27): openbay\Ebay->setLogger()
#1 /home/p1530008/public_html/tienda/system/library/openbay.php(15): openbay\Ebay->__construct(Object(Registry))
#2 /home/p1530008/public_html/tienda/admin/index.php(142): Openbay->__construct(Object(Registry))
#3 {main}
thrown in /home/p1530008/public_html/tienda/system/library/openbay/ebay.php on line 146

Si alguien pudiese hacerme el gran favor de decirme que debo de hacer para solucionarlo se lo agradecería mucho!!

Newbie

Posts

Joined
Mon Oct 23, 2017 12:02 am

Post by straightlight » Mon Oct 23, 2017 2:49 am

Jose Medellin wrote:
Mon Oct 23, 2017 12:27 am
Buenas tardes, tengo un problema, mi página no me abre, me marca el error http 500. En mi base de datos me marca lo siguiete el archivo error_log:

[21-Oct-2017 23:02:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined method Loader::library() in /home/p1530008/public_html/tienda/system/library/openbay/ebay.php:146
Stack trace:
#0 /home/p1530008/public_html/tienda/system/library/openbay/ebay.php(27): openbay\Ebay->setLogger()
#1 /home/p1530008/public_html/tienda/system/library/openbay.php(15): openbay\Ebay->__construct(Object(Registry))
#2 /home/p1530008/public_html/tienda/admin/index.php(142): Openbay->__construct(Object(Registry))
#3 {main}
thrown in /home/p1530008/public_html/tienda/system/library/openbay/ebay.php on line 146

Si alguien pudiese hacerme el gran favor de decirme que debo de hacer para solucionarlo se lo agradecería mucho!!
Prueba esto: https://github.com/opencart/opencart/bl ... y/ebay.php . Although, you are posting in an English section of the forum for Opencart v3.x releases.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Mon Oct 23, 2017 10:46 am

well I followed the directions I found on another link but now I can't get into the admin page. I get the following errors:

Warning: fopen(/public_html/store/catalog/view/theme//stylesheet/bootstrap.css): failed to open stream: No such file or directory in /public_html/store/catalog/controller/startup/sass.php on line 14Warning: flock() expects parameter 1 to be resource, boolean given in /public_html/store/catalog/controller/startup/sass.php on line 16Warning: fwrite() expects parameter 1 to be resource, boolean given in /public_html/store/catalog/controller/startup/sass.php on line 18Warning: fflush() expects parameter 1 to be resource, boolean given in /public_html/store/catalog/controller/startup/sass.php on line 20Warning: flock() expects parameter 1 to be resource, boolean given in /public_html/store/catalog/controller/startup/sass.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /public_html/store/catalog/controller/startup/sass.php on line 24

I've been sitting here trying to figure out what went wrong and where I need to even fix this at, but quite honestly I'm clueless. On the plus side, I have my site showing to the public. I just need to do the admin stuff to it lol.

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm

Post by straightlight » Mon Oct 23, 2017 10:49 am

/public_html/store/catalog/view/theme//stylesheet/bootstrap.css
Two leading slashes is the cause of the error. You need to ensure proper configurations from your config.php and admin/config.php file for each paths including the DIR_TEMPLATE .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by duccccky » Mon Oct 23, 2017 11:14 am

admin/config.php
define('DIR_TEMPLATE', '/public_html/store/catalog/view/theme/');

config.php
define('DIR_TEMPLATE', '/public_html/store/catalog/view/theme/');

New member

Posts

Joined
Fri Oct 20, 2017 9:08 pm
Who is online

Users browsing this forum: No registered users and 118 guests