Hy guys, i have created plogger.php and uploaded it into my themes folder in WordPress. I cannot make it work though, please take a look at this, this is my page... P.S. My plogger installation located @: /MacCiti/gallery... any suggestions?
Warning: require_once(..//gallery/gallery.php) [function.require-once]: failed to open stream: No such file or directory in /home1/wordgene/public_html/MacCiti/wp-content/themes/matatag/plogger.php on line 6
Fatal error: require_once() [function.require]: Failed opening required '..//gallery/gallery.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/wordgene/public_html/MacCiti/wp-content/themes/matatag/plogger.php on line
If your Plogger installation is located in the subfolder "gallery" within the same theme folder as your Plogger template file, you can use this: <?php require_once(dirname(__FILE__)."/gallery/gallery.php"); ?>
Basically your error is that it cannot find the Plogger installation along the path you provided because the include_path variable in your php.ini is not set up for relative paths, so you need to provide the full path.
thank you for the reply... my plogger folder located inside of the wordpress installation... and is inside gallery folder... for some reason i cannot get my head around this, i dont understand how it will work, do i create a php page to put inside my current theme, or do i change the index.php from plogger to get the content from my theme to look like my theme?