Okay
  Public Ticket #303421
Apache error with theme
Closed

Comments

  • Casper started the conversation

    Hi

    Thanks for your wonderful theme i have used it for a while and really like it, but have have found some problems that fill out my apache2.log

    Maybe you can help me? PHP Warning: file_put_contents(/var/www/wp-content/themes/powermag/css/less.css): failed to open stream: Permission denied in /var/www/wp-content/themes/powermag/functions.php on line 294

    (Tried to change permissions on less.css and css folder but it did not solve it)

    scandir(/wp-content/themes/powermag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/wp-content/themes/powermag/inc/jackbox/php/graphics.php on line 6

    (I checked and the folder and files is at the right place on the server.)

    PHP Warning:  opendir(/wp-content/themes/powermag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/wp-content/themes/powermag/inc/jackbox/php/graphics.php on line 45,

    Hope you can tell my how to solve this problem, because my apache2.log is gettting very big, around 1GB. I can ofcause did it manuel, but there is put 150mb into the file everyday.

    Thanks in advance

  •  93
    djwd replied

    Hi there,
    thanks for opening a ticket and for your kind words.

    The first error is definitely related to folder permissions. The CSS folder need to be chmod'ed 775, if you did this already it might not be allowed by your hosting provider (?). 

    About the jackbox problem is kinda weird as if files are actually there the error makes no sense. I'd need to dig into this more in-depth, I'll do some test on my own installs as soon as I have the time to check if it's something on my end that is causing this.

    Thanks f or your feedback

    Regards
    djwd

    Regards
    djwd

  • Javier replied

    Hi,

    In my case I'm having a similar problem with another directory:

    PHP Warning: opendir (/wp-content/themes/powermag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/html/foroconsolas.com/wp-content/themes/powermag/inc/jackbox/php/graphics.php on line 45, referer: http://foroconsolas.com

    Best Regards,

    Javier

  •  93
    djwd replied

    Thanks for your feedback, it'll be useful while debugging this.

    Regards
    djwd

    Regards
    djwd

  • ND replied

    +1, I have same error in nginx logs.

  • [deleted] replied

    Same here.

    After updating to the latest version, error with what it seems to be the Featured Images. Back to 1.6.0 no errors are given.

    mod_fcgid: stderr: PHP Warning: scandir(/wp-content/themes/powermag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/vhosts/.../httpdocs/wp-content/themes/powermag/inc/jackbox/php/graphics.php on line 6

    mod_fcgid: stderr: PHP Warning: opendir(/wp-content/themes/powermag/inc/jackbox/img/graphics/): failed to open dir: No such file or directory in /var/www/vhosts/..../httpdocs/wp-content/themes/powermag/inc/jackbox/php/graphics.php on line 45