Jump to content

problem in uploading images with php in wordpress


Guest sanna.s

Recommended Posts

Guest sanna.s

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...