Jump to content

Unable to generate/view invoices or delivery slips in back office


Recommended Posts

Hi,

 

I was wondering if somebody may have experienced a similar issue to what i am experiencing and may be able to offer some advice.

 

I am running prestashop 1.5.4.1 which was a new install and i am unable to view invoices or delivery slips when i select an order, i am also unable to generate an invoice or delivery slip form the invoices or delivery menus. when i try to do either of these i receive a 500 server error. The invoices do appear and can be viewed from the customers log in just not the back end

 

I have searched for the answer to this and found similar issues so here is what i have tried

 

1. changed the invoice image to .jpg i also commented out the logo in the .tpl file and changed the setting to use .jpg only in images (this has no effect)

 

2. i turned on the development debugging and found that the error is

 

Delivery slip button on an order

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/condomhe/public_html/tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php on line 105

 

Generate an invoice from invoice menu

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 75 bytes) in /home/condomhe/public_html/classes/ObjectModel.php on line 1529

 

This changes depending of which button i use to generate or view the invoice/delivery slip but always the "allowed memory size exhausted" error

 

Here's what i have done, reading another forum they advised to increase php memory to 128 or 256M by using a php.ini file

 

I created a php.ini file and set the parameters as suggested to

 

memory_limit = 256M

max_execution_time = 1000;

max_input_time = -1;

post_max_size = 20M;

upload_max_filesize = 20M;

max_input_vars = 10000;

suhosin.get.max_vars = 10000;

suhosin.post.max_vars = 10000;

 

and loaded the info.php file to verify that had changed which it has, but i still receive the error message.

 

Is there a setting in Prestashop which sets a maximum amount of memory allocated to this section? i am running out of ideas

 

I am using crazy domains hosting

i have altered some css for the defualt theme only

 

Any ideas would be greatly appreciated

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...