Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #3667
    patung
    Member

    Since (I think) upgrading to the latest version (2.0.5) no emails are being sent.

    After clicking ’email to client’ the next page only partially loads, it stops loading at this point:

    <div class='wrap'>

    Normally, on admin.php?page=web-invoice/web-invoice.php the normal code is:

    <div class='wrap'><form id="invoices-filter" action="" method="post">
    <h2>Invoice Overview <a class="button add-new-h2" href="admin.php?page=new_web_invoice">Add New</a></h2>
    <div class="tablenav clearfix">

    <div class="alignleft"><select name="web_invoice_action">
    <form id="invoices-filter" action="" method="post">
    <h2>Invoice Overview <a class="button add-new-h2" href="admin.php?page=new_web_invoice">Add New</a></h2>
    <div class="tablenav clearfix">

    <div class="alignleft"><select name="web_invoice_action">

    etc, etc.

    But after trying to email the page stops loading at div class=’wrap’.

    I’ve tested this on two installs of the plugin, one on mainblog.com and one on subblog.mainblog.com and both are same.

    #5284
    patung
    Member

    Same problem in 2.0.4, but reversion to 2.0.3 fixes it.

    #5287

    If you do not have any issue with PDF generation only other issue could be PHP running out of memory. Please set memory_limit to at least 64M and try. Also remember to look at your web server error log after enabling php error logging.

    #5290
    patung
    Member

    Well in php.ini I have

    max_execution_time = 30 ; Maximum execution time of each script, in seconds

    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

    memory_limit = 64M

    #5293
    patung
    Member

    Well in php.ini I have

    max_execution_time = 30 ; Maximum execution time of each script, in seconds

    max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

    memory_limit = 64M

    ____________________

    I checked my error_log in /var/log/httpd/ there are lots of email/Horde errors listed at the relevant time, but they are ‘normal’ errors that happen all the time every day, I don’t think related to Web Invoice, like

    [Fri Jul 09 17:16:14 2010] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  Can't load Horde/SessionObjects.php, open_basedir restriction. in /usr/share/psa-horde/ingo/lib/Storage.php on line 276, referer: http://webmail.domain.com/services/portal/sidebar.php
    [Fri Jul 09 17:16:15 2010] [error] [client xxx.xxx.xxx.xxx] File does not exist: /usr/share/psa-horde/imp/themes/wps_sober/graphics/empty_spam.png, referer: http://webmail.domain.com/imp/mailbox.php?no_newmail_popup=1&mailbox=INBOX

    Not sure if I have to do any special enabling of errors…

    #5296

    Most of the time sudden exit is caused by running out of memory, specially when it works for other users. Please try to increase the memory limit gradually until Web Invoice starts to work completely.

    PDF generation could take upto 25 MB. Anyways, can you please try setting memory_limit to 128M and try.

    #5299
    patung
    Member

    I tried it with 128mb, still same, nothing in error log. It’s not a php blank white page of death, just a partial load of the page. Not sure where else to look for problems.

    Just to clarify, page output stops just before this:

    <div id="message" class='updated fade' ><p>Successfully sent 1 Web Invoices(s).</p></div><form id="invoices-filter" action="" method="post">

    #5302

    Can you please set display_errors = On in your php.ini ? That will display the error being caused.

    #5305
    patung
    Member

    Fatal error: Call to undefined function sys_get_temp_dir() in /var/www/vhosts/mysite.com/httpdocs/wp-content/plugins/web-invoice/Functions.php on line 969

    #5308

    See http://code.google.com/p/web-invoice/issues/detail?id=21 . Release will be made soon. Thanks for all the help figuring out this issue, much appreciated.

    #5311

    Please try 2.0.6 and let me know how it goes

    #5314
    patung
    Member

    Thanks for your work, all fine now.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.