If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Fatal error in Advanced Guestbook  XML
Forum Index » Support Forum
Author Message
loub0999
Newbie

Joined: 08/04/2005 10:29:32
Messages: 2
Location: montreal
Offline

I just downloaded and installed v2.3.2 of AGB, I got the mysql set up and running, i can navigate in admin, but I can't post a comment I get an error when I run the addentry.php file:

Fatal error: Call to undefined function: str_ireplace() in /home/decal/public_html/jp2com/en/guestbook/lib/vars.class.php on line 135

Does anyone know what this means?

loub0999
[WWW]
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

str_ireplace() is only available in PHP5

replace the function

str_ireplace

with str_replace or eregi_replace
[Email] [WWW]
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Open up the file called vars.class.php which is found in the lib folder. Find

and replace it with

Save the file

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
loub0999
Newbie

Joined: 08/04/2005 10:29:32
Messages: 2
Location: montreal
Offline

That was simple enough a fix! Thanks for your help! It's working nicely, now to integrate my interface to your software...

loub0999
[WWW]
Webmaster
Site Admin
[Avatar]

Joined: 10/01/2002 23:32:17
Messages: 82
Offline

I've made some small changes today. -> http://proxy2.de/forum/viewtopic.php?t=4471
Please download it again.
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum