[Plugin: podPress] Error including wp-config when detecting size?
-
I’m just getting started with podPress, and I noticed that I get errors when detecting the size or duration of a (remote) file. Looking in my error logs, I see these lines appear when I hit the “Auto Detect” button:
[Wed Jan 04 11:58:15 2012] [error] [client 80.176.75.164] PHP Warning: require_once(../../../wp-config.php): failed to open stream: No such file or directory in /var/www/sites/wordpress/html/wp-content/plugins/podpress/podpress_backend.php on line 26, referer: http://devpop.gothick.org.uk/wp-admin/post-new.php
[Wed Jan 04 11:58:15 2012] [error] [client 80.176.75.164] PHP Fatal error: require_once(): Failed opening required '../../../wp-config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/wordpress/html/wp-content/plugins/podpress/podpress_backend.php on line 26, referer: http://devpop.gothick.org.uk/wp-admin/post-new.phpNow, I’m thinking this is because my
wp-config.phpisn’t in the default location (I’ve moved it out of the document root, so it’s one level higher up.) Are my suspicions correct? Would it be safe to just edit the podPress code to go up another level for itsrequire_once? Or is there a more standard way of determining thewp-config.phplocation that could be used instead?Thanks,
Matt
The topic ‘[Plugin: podPress] Error including wp-config when detecting size?’ is closed to new replies.