Guest sanna.s Posted November 27, 2009 Report Share Posted November 27, 2009 hello...i m new to the web designing field, currently i m working on wordpress themes for my website, the exact link of the theme for which i m working is{*"http://www.press75.com/the-folio-elements-wordpress-theme/"*},the theme "folio elements" has a image slider and when we click on a particular image it gives us the details of the image... now the problem that i'm getting is- i have uploaded the images but when i click on the images it gives me the error as- {********************** Warning: include(../../../../wp-load.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\webalizer\wordpress\wp-content\themes\FolioElements-v1.2\folioelements\ajax\pageloader.php on line 3 Warning: include() [function.include]: Failed opening '../../../../wp-load.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\webalizer\wordpress\wp-content\themes\FolioElements-v1.2\folioelements\ajax\pageloader.php on line 3 Fatal error: Call to undefined function query_posts() in C:\xampp\webalizer\wordpress\wp-content\themes\FolioElements-v1.2\folioelements\ajax\pageloader.php on line 18 ************************} and the script given below is of the "pageloader.php", which has been discussed in the above lines. {{******************* <?php include ('../../../../wp-load.php'); global $wpdb; if (isset($_GET['pagename']) || isset($_GET['postnum'])) { // INIT $query = ''; // Create the query based on what was passed if (isset($_GET['pagename'])) { $query = 'pagename=' . $_GET['pagename']; } elseif (isset($_GET['postnum'])) { $query = 'p=' . $_GET['postnum']; } // Execute Query query_posts($query); // Output the information if (have_posts()) : while (have_posts()) : the_post(); ?> <?php the_title(); ?> <?php the_content(); ?> <?php endwhile; else : ?> Sorry!!! What you are looking for isn't here. <?php endif; } else { ?> Please do not try and load this page directly <?php } ?> ********************************}} so, could you please help me in loading the images with details... thanks for your time!!!! i'll really appreciate your help. Quote Link to comment Share on other sites More sharing options...
Susie Posted November 27, 2009 Report Share Posted November 27, 2009 Have you tried redownloading the theme and then reuploading it to your server? Since the error says "No such file or directory...", that's the first thing I would try. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.