FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Page not found [Plugin]

Feed 5 posts, 5 voices

Avatar
11 posts

I am trying to create a 404 page with the page_not_found plugin Revision 89: / from svn but i'm getting the following error:

Fatal error: Call to undefined function statistic_save() in /Users/~/Sites/madebyfrogs-read-only/frog/plugins/page_not_found/index.php on line 29

Does anyone have the same issue?

Thanks

 
Avatar
1493 posts

Here's what I did:

  1. Read the "readme.txt" with the page-not-found plug-in.
  2. Created a page as a child to "Home" called "Page not found"
  3. Set the Layout = "inherit"; Page type = "Page not found"; Status = hidden.
  4. Put a little text in the page with no filter set.
  5. Saved it.
  6. Put a nonsense page on the address line, and...
  7. Got this error message:

Fatal error: Call to undefined function statistic_save() in C:\Program Files\xampp\htdocs\frog4\frog\plugins\page_not_found\index.php on line 29

Line 29 = statistic_save($page->id); in case that's any help to ... Philippe. ;)

 
Avatar
541 posts

sorry about that !!! copy past done too fast ;)

bug fixed in the svn!

 
Avatar
1493 posts

Thanks, Philippe -- that works great!

(And now that I've worked out how to use SVN, it is super easy to grab the latest file! :)

 
Avatar
1 posts

I am still not having any luck after doing all of the above. I have checked out the latest from Subversion (rev.205) through SSH to the hosting server. Any ideas? Here is the error?

"Not Found

The requested URL /cgi-bin/php/index.php was not found on this server. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

The plugin works fine on my local server on OS X. I can't seem to figure out what the host is doing differently to cause the error.

 
Avatar
651 posts

Try turning on the debug option in Frog's config.php.... if you have access to the http server's error logfile, that would probably help in trying to determine the cause of the problem.