Jump to content

Manufacturer page not working


rfourt

Recommended Posts

Hello.

All of a sudden the manufacturer page stopped working.

All i know i have done is change the hosting from php 5.6 to 7.0, but i have tried to changed back to 5.6 and no difference so i dont think it is that.

 

Anyway.. here is the problem.

Before i have always reached the manufacturer list-page by going to this url: 

http://myurl.com/develop/index.php?controller=manufacturer'>http://myurl.com/develop/index.php?controller=manufacturer

But now all of a sudden that url just takes me back to the front-page. (index)

 

I turned on PS_Mod_DEV to see what it gives me back and this is the answer:

[Debug] This page has moved
Please use the following URL instead: http://myurl.com/develop/

So what i did was that i added the page "Manufacturer" under SEO& URLS pages and gave it a Rewrite URL. 

"manufacturer"  

So the new url would be:

http://myurl.com/develop/manufacturer

When i did that the page just keeps loading and loading and gives me after 90seconds this err msg:

Fatal error: Maximum execution time of 90 seconds exceeded
in /home/myurl/public_html/develop/classes/Dispatcher.php on line 765

i opened up the error.log file and check and here is the result from that file:

[05-Apr-2017 16:43:04 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 749
[05-Apr-2017 16:44:29 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 757
[05-Apr-2017 16:47:56 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 754
[05-Apr-2017 16:49:34 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myrul/public_html/develop/classes/Dispatcher.php on line 783
[05-Apr-2017 16:52:56 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Validate.php on line 1075
[05-Apr-2017 16:54:26 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Tools.php on line 462
[05-Apr-2017 16:57:23 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 767
[05-Apr-2017 17:12:26 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 749
[05-Apr-2017 17:16:52 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 783
[05-Apr-2017 17:24:47 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 754
[05-Apr-2017 17:25:26 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Tools.php on line 459
[05-Apr-2017 17:34:20 Europe/Stockholm] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/myurl/public_html/develop/classes/Dispatcher.php on line 765


Its very strange.. and again i dont think it has anything to do with the switch of PHP or.. but i cant see any other errors on the site after the change of php version.  Although i haven't checked the manufacturer page in perhaps a month so i cant swear it was working before i switch to the php 7.0 this Monday.. But i know it was working about a month ago.

 

Hope anyone could help or give me some tips.

Thank you.

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

Ok here are some more info:

 

These url´s below work fine.

http://myurl.com/develop/index.php?controller=new-products
http://myurl.com/develop/index.php?controller=best-sales
http://myurl.com/develop/index.php?controller=contact

But these url´s dont work..
 

http://myurl.com/develop/index.php?controller=manufacturer
http://myurl.com/develop/index.php?controller=supplier 

So iut seems that both manufacturer and supplier dosnt work?

 

Have i totally missed something? they are kind of related or?

Edited by rfourt (see edit history)
  • Like 2
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 month later...
  • 9 months later...

Hi!

Any solution to this problem?

I cannot reach the brands page (404 error all the time), neither with or without friendly URL's.

I have tried to click on a brand both from inside the product page and from the brand module in category.

The brand is active/enabled.

Prestashop Version 1.7.3.1.

Thanks in advance!

Best regards,

Jonathan

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

I had exactly the same issue and have now fixed it.

I found an error in controllers/front/listing/ManufacturerController.php

It says:   

  if (Configuration::get('PS_DISPLAY_SUPPLIERS')) {
    ...

   ...

        } else {
            $this->redirect_after = '404';
            $this->redirect();
       }

I've got display suppliers disabled, so the manufacturers page will go straight to 404.

I'm guessing this should be changed to PS_DISPLAY_MANUFACTURERS but I've just commented it out for now and it's fixed the problem.

Hope it helps.  Remember to delete caches etc.
  

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