Jump to content

Can't disable my shop


Recommended Posts

Hi elpatron, thanks alot for the reply.

 

I have downloaded the whole app and the db, and tried it in my xampp localhost and disabling works..(??)

I have contacted my hosting provider and pointed them to the file FrontController.php, and am waiting for their opinion.

I can't figure out why it doesn't work on HSP server and works on my localhost (???)

 

Thank you once again for pointing me to the php file.

  • Like 1
Link to comment
Share on other sites

Get Beyond Compare, then you can compare the working controller against the non-working controller. Beyond compare rocks.

I compared them with WinMerge. The files are identical..

 

I uploaded the same (previously downloaded) presta folder and database, to another HSP server, and it doesn't work there either.

 

But the damn thing works (the same downloaded set folder/db) on my xampp localhost (??)

 

A Twilight Zone..

Link to comment
Share on other sites

I compared them with WinMerge. The files are identical..

 

I uploaded the same (previously downloaded) presta folder and database, to another HSP server, and it doesn't work there either.

 

But the damn thing works (the same downloaded set folder/db) on my xampp localhost (??)

 

A Twilight Zone..

 

 

config/config.inc.php

 

executes Configuration::loadConfiguration();

 

This loads your store mysql configuration

 

maybe put a echo trap in the frontcontroller and/or config.inc.php to see what is actually there...

 

i.e. echo "shop enable switch: ".Configuration::get('PS_SHOP_ENABLE');

 

to set the core only copy of this, issue Configuration::set('PS_SHOP_ENABLE', 1);

Link to comment
Share on other sites

Thanks elpatron, but my php is pretty much rusty (i havent coded in php for years).

 

Where should i put, what exact line?

 

Thanks

 

jajajaja...then we know you didn't change anything to break it, like most posts...

 

I'll pm you later with code detail...now siesta

  • Like 1
Link to comment
Share on other sites

jajajaja...then we know you didn't change anything to break it, like most posts...

 

I'll pm you later with code detail...now siesta

 

 

Thank you so much for your time and help offer i highly appreciate it. This app and kind people like you keep my job.

 

The other service provider (i uploaded a copy of my prestashop to their server yesterday, and initially disabling didn't work there either) managed to solve the issue!

I don't know how yet, as they merely emailed me to try it now, and it works !!!

 

I'll reply to them, to thank and ask what they actually have done (i pointed them to the FrontController file and exact lines you were talking about).

 

I will certainly report it back, as it might be helpful to someone.

 

Thanks a lot once again.

Link to comment
Share on other sites

Well the reason turned out to be very trivial (as expected).

 

I was pretty surprised when the guy on the phone said 'no, we didn't do anything'. :blink:

Luckily during the conversation one of them remembered that prestashop has an option to set up a maintenance IP address..

In a milisecond i realized what happened :lol: I have set it up long ago and completely forgot about it.

When i went home, i found disabling works and thought that the tech support guys did something.

 

The "issue" looks pretty funny now. :D

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

  • 8 months later...

I compared them with WinMerge. The files are identical..

 

I uploaded the same (previously downloaded) presta folder and database, to another HSP server, and it doesn't work there either.

 

But the damn thing works (the same downloaded set folder/db) on my xampp localhost (??)

 

A Twilight Zone..

 

from the database of prestashop you have to insert 1 in replace of 0 in a field that i don't reemeber at the moment i am looking for it...

Link to comment
Share on other sites

×
×
  • Create New...