Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

  • 0
Havouza

500 error. This must be wrong

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

 

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

What about trying to deactivate the module from phpmyadmin.

look for the module name in tb_module and set active to 0.

Share this post


Link to post
Share on other sites
  • 0
21 minutes ago, Havouza said:

You mean I can take away all content in smarty/cache/

cache/smarty/cache/ yes delete everything except index.php 

cache/smarty/compile/ delete everything except index.php 

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, Havouza said:
But can I do the same search using only Grep via ssh? How?

Much easier than with some GUI tool:

  grep -rn jv74.se

Share this post


Link to post
Share on other sites
  • 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.

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites
  • 0

Sounds like you banned yourself from your server. Can you use a different IP or unblock yourself in cpanel or plesk or what ever you are using for a control panel?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
  • 0

By doing this, you will get your self to the same situation you are right now.

Try to download your db and files/folders to your local computer and see if you can get it to run.

Share this post


Link to post
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/

Share this post


Link to post
Share on other sites
  • 0

Are you sure you are pointing the domain to the correct root folder on the server?

Share this post


Link to post
Share on other sites
  • 0

From apache

Handles the name-based server jv74.se on address 173.249.58.247.

Address 173.249.58.247
Port 80
Server Name jv74.se
Document Root /home/jv74/public_html

Share this post


Link to post
Share on other sites
  • 0

You see the old shop. I have it up until it works on the new server

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
  • 0

There was an issue with cache files that now is taken care of. So that problem is gone. I now get a 500 error and the only thing in the apache log is the one I posted 53 minutes ago

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
  • 0

I just looked in the eventlog and it say for today that bcmath is required. Can this be the cause?

 

Share this post


Link to post
Share on other sites
  • 0

Are you using different php version for the new shop?

if so, make sure you have all php required extensions installed for the used php version.

Share this post


Link to post
Share on other sites
  • 0

bcmatch was not installed. I used 7.1 in the old but 7.2 in this. Different OS. Centos in old Ubuntu 18.04 in this

Share this post


Link to post
Share on other sites
  • 0

Ok that seems to have solved the problem!! Thanks all for helping 

  • Like 1

Share this post


Link to post
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

×