Support » Plugin: WP e-Commerce Shop Styling » Shop styling invoice PDF not created anymore‏

  • My website has stopt creating pdf invoices and no pdf is attached to the emails anymore. No changes were made in wp. And your plugin is installed correct and was working fine for more then one year.
    Text below is showing the error message i receive after i change the status of a new order into order received.
    Can you please help me asap to solve this issue?
    Your support is very much appreciated.
    Waiting for your reply.

    Warning: file_put_contents(/home/trendygift/domains/trendygifts.eu/public_html/wp-content/uploads/wpsc-invoices/TrendyGifts Factuur-164.pdf) [function.file-put-contents]: failed to open stream: Permission denied in /home/trendygift/domains/trendygifts.eu/public_html/wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetinvoice.php on line 129

    Warning: file_put_contents(/home/trendygift/domains/trendygifts.eu/public_html/wp-content/uploads/wpsc-invoices/TrendyGifts Factuur-164.pdf) [function.file-put-contents]: failed to open stream: Permission denied in /home/trendygift/domains/trendygifts.eu/public_html/wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetinvoice.php on line 129

    Warning: Cannot modify header information – headers already sent by (output started at /home/trendygift/domains/trendygifts.eu/public_html/wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetinvoice.php:129) in /home/trendygift/domains/trendygifts.eu/public_html/wp-includes/pluggable.php on line 875

    https://wordpress.org/plugins/wp-ecommerce-shop-styling/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello, It seems your invoice directory isn’t writable.
    the directory is
    /wp-content/uploads/wpsc-invoices/

    Thanks for your quick reply.
    If I want to change in DirectAdmin the permission of this folder from 775 to 777 the following error occured:

    Unable to set file permissions

    Details

    Unable to chmod /domains/trendygifts.eu/public_html/wp-content/uploads/wpsc-invoices to 777

    I can change permissions from other folders without errors.

    Please help me how to solve this.
    Thanks In advance.
    Arjan

    I think this directory is only accessible by your PHP user, not your FTP account. Normally this should be right. Maybe the PDF can’t be created because your webspace runs out of space?

    No there is a lot of space available.
    It looks like this issue has started after the provider increased my account to a higher level with more space and bandwidth.
    Any idea how we can make this work again?
    Thanks in advance
    Arjan

    the directory has been created by the PHP user account (for example www-data), so the FTP account couldn’t change permissions . The upgrade could have changed some rights. Go to your webspace admin panel and look for a file manager or WebFTP client to fix the access rights

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shop styling invoice PDF not created anymore‏’ is closed to new replies.