All Items » NewStatPress » Bug #299
Bug Report
Php WARNINGS after update !
ID: 299Status: ResolvedVersion: 0.5.1Report Date: 12 February 2013Product: NewStatPress Resolution Date: 12 February 2013Resolution Version: 0.5.2
Reportershilom
Assignee
Description

NOTE :
– i use a custom “wp-content” dir with is “content”

After an update, newstatpress have some problems with my custom wp-content dir.

It seems that MY CUSTOM “WP-CONTENT” path is not correctly set inside NewstatPress.

I have a lot of php WARNINGS like this:

Warning: include(/xxxxxxxxxxx/wp-content/plugins/newstatpress/includes/charts.php) [function.include]: failed to open stream: No such file or directory in /xxxxxxxxxxx/content/plugins/newstatpress/newstatpress.php on line 14

BUT :
/xxxxxxxxxxx/WP-CONTENT/plugins/newstatpress/includes/charts.php

SHOULD BE :
/xxxxxxxxxxx/CONTENT/plugins/newstatpress/includes/charts.php

I think you can easily fix this by using :
include WP_CONTENT_DIR …………….. charts.php

instead of :
include ABSPATH.’wp-content…………..charts.php’;

Thanks again for your great job,
I hope to give to newstatpress a new improved french translation.

shilom.

Lascia un commento

Il tuo indirizzo email non sarĂ  pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.