Fatal error: Call to undefined function Fatal error: Call to undefined function
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Fatal error: Call to undefined function

Started by ida90, December 16, 2010, 12:48:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ida90

Hi! The last two days I haven't been able to access my gallery as I keep getting this error message: "Page not found. Fatal error: Call to undefined function php_e() in /home2/rhyswake/public_html/wp-content/themes/fresh orange/index.php on line 46."

Here's my index.php file:
Code:

<?php get_header(); ?>

<!-- Content/Updates -->
<div id="main">
<!--this is the loop-->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

<div id="post">
<div id="posttop">
<div class="title"><?php the_title(); ?></div>
<!-- Post details -->
<div class="postdetails">
Posted by <?php the_author(); ?> in <?php the_category(', '); ?> on <?php the_time('F jS, Y'); ?> | <?php comments_popup_link('No Comments ''1 Comment ''% Comments '); ?>

<!-- Closing postdetails -->
</div>

<!-- Closing posttop -->
</div>

<div class="content">
<?php the_content('Continue reading&raquo;'); ?>

<!-- Closing content -->
</div>

<div class="contentbottom">
&nbsp; &nbsp;
<!-- Closing contentbottom -->
</div>

<!-- Closing post -->
</div>

<?php endwhile;?>
<center>
<?php wp_pagenavi(); ?>
</center>

<!-- Closing main -->
</div>
<br><br>


<?php else: ?>
<p><?php_e('Sorry, no posts matched your criteria.'); ?></p>

<?php endif; 
get_sidebar();
get_footer();
?>


<!--ends the loop-->



This is what happened:
I was thinking of upgrading my gallery to 1.5 and was going to do backups for the files. I just got my first mac and is still kind of green in few areas. So when trying to download the files from FileZilla FTP to my mac, instead of being saved as the normally would on my old computer, the files was reuploaded to the same albums. As some of the files was REALLY big the transfer was interrupted when I had to catch a flight home. And when I got I home, I didn't get the internet connection to work on my mac, so I have no way of finishing to transfers until over new years.. So I thought it would help to upgrade the gallery to 1.5 so that the files would be replaced, but I wasn't able to run the update files, so no luck there either...


And if there's nothing to do:
is it possible to install a new coppermine gallery from scratch (on a other url like for example: http://rhyswakefield.net/pictures) before I delete the old one from the ftp? So that I don't have save all the photos to my computer at the same time...


My gallery: http://rhyswakefield.net/gallery/




Jeff Bailey

What happens if you remove that line?
It looks more like something is wrong with the way you have combined your wordpress and Coppermine.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

ida90

If I remove the line
<p><?php_e('Sorry, no posts matched your criteria.'); ?></p>, the right table just shows up blank and in the title of the site it says "Charming Rhys >> Page not found". So the error message disappeared, but not the problem!

I found someone who had the same problem on another site and they just made a blank space between <?php and _e like this:
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>. But when I did that I started to get a new message: "Page not found. Sorry, no posts matched your criteria."

Ah.... I feel like this gallery is screwed now :(


Αndré

Quote from: ida90 on December 16, 2010, 01:04:10 PM
I started to get a new message: "Page not found. Sorry, no posts matched your criteria."
That's expected behavior when you look at the code. I don't know what you've done to bridge your gallery with Wordpress. Please post the link where you found the Wordpress bridge.


Moving to bridge board.

ida90

I've never made a bridge... The gallery used to be a fresh new page, not integrated in the wordpress. That's why I don't get why the error is showing up this way..

Αndré


ida90

I did that, and it works fine :) So I just think I'll just move all my files over with FTP.
Thanks so much for the help!