Jump to content

Can't add manufacturer!


Recommended Posts

Check your PHP errorlog for a hint on what is going wrong. If you don't have access to it, change line 4 of config/config.inc.php to display errors:

@ini_set('display_errors', 'on');



Then refresh the manufacturer page to display an error message. If you give us the error message, it will be easier to help.

Link to comment
Share on other sites

Ok thanks!
Apparently there is an unexpected '&' in this line:

<form action="../../admin/tabs/'.&currentIndex;.'&submitAdd'.$this->table.'=1&token='.$this->token.'" method="post" enctype="multipart/form-data" class="width3">

Link to comment
Share on other sites

I just checked the CHANGELOG of the demo site for that theme and it said Prestashop v1.1, so it looks like this theme was not designed to work with Prestashop v1.2.4. You could try going to the Preferences tab and turning on v1.1 theme compatibility at the bottom to see whether that works.

Link to comment
Share on other sites

I'm confused, since installing a theme shouldn't affect the Back Office. Since I don't know where the code you wrote came from, I can only say that the code you entered should be:

<form action="../../admin/tabs/'.$currentIndex.'&submitAdd;'.$this->table.'=1&token;='.$this->token.'" method="post" enctype="multipart/form-data" class="width3"> 

Link to comment
Share on other sites

Is it hard to help without actually having access to your site to see what is going on. There seems to be something seriously wrong with your installation if you keep getting errors like this. Can you see what the URL of the 404 error is?

Link to comment
Share on other sites

  • 2 years later...
×
×
  • Create New...