Jump to content

Error 500 after moving files


Recommended Posts

Hi

 

I've been assigned to move a prestashop from 1 server to another (both local)

 

Problem is, i've moved the files, the databse (backup) and all, but I keep getting a error 500 whenever I hit the new server?

 

I tried setting it into developer mode, but that ddin't reveal any further error reporting.

 

I'm quite stuck, and it's bad since our shop need to go live really soon.

 

Setup is win server 2008, IIS 7,5, PHP 5,3, Mysql 5,6. ioncube

 

I'm having both phpinfo running, myphpadmin, and another helpdesk system based on php, so I'm guessing it is'nt the php that causes problems. but does anyone have a clue?

 

I have been modifying confin/config and config/settings.

 

I've been into the database, found ps_configuration and set the ps_shop_cipher to 0, changed the shop domain to the right thing.

 

I am all outta ideas.

Link to comment
Share on other sites

Problem is, only error report I get is this:

 

500 - Internal server error.

 

There is a problem with the resource you are looking for, and it cannot be displayed.

 

 

I've been to config/config and setting error report to on, but no errors came.

Link to comment
Share on other sites

I actually tried a fresh install, but it never went pass the config part of the steps.

Checked for all kinds of things that could cause this, but could never find it.

 

The localhost logs dosen't report any problems beside a few informations about sql services. something like "server socket created on ip "::" " So I can't find any clues there either :(

Link to comment
Share on other sites

Oh! found this just now: Application popup: Warning : PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_firebird.dll' - The specified module could not be found.

 

and

 

Application popup: Warning : PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oci.dll' - The specified module could not be found.

 

that could be related, right? more of those modules are not found too

Edited by way3000 (see edit history)
Link to comment
Share on other sites

if you can't run a fresh install on your target localhost...then it's 'highly' unlikely that you can move working ps shop to same localhost...

 

if you get .dll missing messages, then you should enable(load) the modules to apache...those sorts of messages are better searched for outside of ps

Link to comment
Share on other sites

just a quick question, should domain name and domain name ssl be localhost if I host the server? I am somewhat getting quite frustrated, not beeing able to make those extensions load.

 

What I wonder is, on the working server (old soon to be replaced I hope) These modules ain't even installed?

 

What php extensions are required by prestashop exactly?

 

I can give a phpinfo if you need on navigo.dk/test.php

Link to comment
Share on other sites

I'm stubborn as a mule, Need a new computer due to rage before I quit hehe :P

 

well, managed to find this error: PHP Strict Standards: Declaration of PayPal::validateOrder() should be compatible with that of PaymentModuleCore::validateOrder() in C:\inetpub\wwwroot\modules\paypal\paypal.php on line 48

 

now paypal module error?

Link to comment
Share on other sites

ok news: I removed the paypal module, and now it works.

 

thanks alot for the help !!

 

what's needed was I had to go to IIS 7,5 controle panel, choose configuration editor, and set the errorMode to detailed (not just detailed for localhost or custom, only the "detailed" worked) for some reason IIS 7.5 dosen't get that it has to show the details on localhost, even if you say it has to. So that's a IIS bug that affects your shop.

Link to comment
Share on other sites

Thanks. I would prefer a CentOS apache setup if I were to choose, but I was not the one this time :)

 

Had to make due, but it was solved at best possible way. though was days of debugging! Hope I can save someones time by this :)

  • Like 1
Link to comment
Share on other sites

oh dangit, wasen't as solved as I hoped.

 

Now I get errors like:

 

PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\controllers\front\OrderOpcController.php on line 357

 

PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\controllers\front\OrderOpcController.php on line 357

 

PHP Notice: Undefined offset: 48 in C:\inetpub\wwwroot\override\controllers\front\BestSalesController.php on line 20

 

I can now see the website, and access the administrator panel though.

 

Any idea where to go from here?

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...