Jump to content
thirty bees forum
  • 0

500 error. This must be wrong


Havouza

Question

Still struggling with my shop transfer and now I think I have found the problem.
The below is from an event log for today. The path to the files is from the OLD shop, not the NEW. Where do I define this? its probably done automatic when you install a shop and now get wrong.

 

*ERROR* 	2019/04/27 - 14:23:09: load error: failed to find /var/www/vhosts/jv74.se/httpdocs/modules/footercustom/views/css/front/less/default.less at line 1417 in file modules/footercustom/lessc.inc.php

 

Link to comment
Share on other sites

Recommended Posts

  • 0

Somebody asked where thirty bee stores URLs in the database. It's table shop_url.

Location of code files are evaluated on the fly, see https://github.com/thirtybees/thirtybees/blob/1.0.x/config/defines.inc.php#L70-L72

And there might be a file config/defines_custom.inc.php overriding this. This file neither comes with the distribution nor does it get created by thirty bees, but it gets read if it's there.

Link to comment
Share on other sites

  • 0

Well something has changed. Now I get this 
 

Forbidden

You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

Seems to be permissions but what? I am on deep water now

Anyone have a lead?

Link to comment
Share on other sites

  • 0

ell after more than 100 hours I have given up and are thinking of another aproach.
Would it be possible to install a fresh TB on the new server and then move the db and necessary folders from the old to the new. Both are 1.0.8

Link to comment
Share on other sites

  • 0

OK then we call off the move
It show new errors all the time:
That file exist 
[Mon Apr 29 06:08:07.320966 2019] [proxy_fcgi:error] [pid 32650] [client 185.60.238.48:50536] AH01071: Got error 'PHP message: PHP Warning:  readfile(/home/jv74/public_html/img/favicon_1.ico): failed to open stream: No such file or directory in /home/jv74/public_html/controllers/front/FaviconController.php on line 69\n', referer: https://www.jv74.se/

Link to comment
Share on other sites

  • 0

When you change to the new folder/shop, nothing works or you just have an issue with 1 module?

I am looking at earlier posts and don't understand the exact error you have.

If you want to look for hard coded strings inside files you can use grep command.

like: grep -rn "jv74.se/httpdocs" /home/jv74/public_html

I am not expert in mysql and I think that if you want to lookup inside your database you will need to dump it first and than run grep.

like: mysqldump --compact --skip-extended-insert -u your_db_username -pyour_db_user_password db_name | grep "jv74.se/httpdocs"

"-pyour_db_user_password" => the "p" is for password and your real password should be with no space.

Link to comment
Share on other sites

  • 0

I doubt if that error is the cause of the 500 error.

can you enable tb debug mode?

edit file config/defines.inc.php and change this define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true);

and reload the page and see if you get some other error.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...