[SOLVED] "Fata...
 
Notifications
Clear all

[SOLVED] "Fatal error: Call to undefined function: strrchar()"

8 Posts
3 Users
0 Reactions
3,551 Views
(@guest1713)
Posts: 0
 

URL to your eFiction: http://roguewrld.popullus.net
Version of eFiction: Attempting to upgrade to 3.0.2
Have you bridged eFiction, if so with what?: I have no clue what that means, so no?
Version of PHP: 4.4.2
Version of MySQL: 4.1.21-standard
Have you searched for your problem: Yes
If so, what terms did you try: Call to undefined function, strrchar()
Have you looked at the FAQs: I can't find one for 3
State the nature of your problem:
Fatal error: Call to undefined function: strrchar() in /home/roguewrl/public_html/install/upgrade20.php on line 856

I am not a coder, and am very unfamiliar with php, so please be gentle.

Thank you for your assistance.


 
Posted : 05/01/2007 9:35 pm
(@becca)
Posts: 553
Honorable Member
 

What version are you upgrading from?


 
Posted : 05/01/2007 10:51 pm
(@guest1713)
Posts: 0
 

upgrading from eFiction, Version 2.0.6


 
Posted : 05/01/2007 10:59 pm
(@tammy)
Posts: 2577
Member Moderator
 

Open the upgrade20.php file and go to line 856 and change "strrchar" to "strrchr" (Take the "a" out) in 2 places.


 
Posted : 05/01/2007 11:21 pm
(@guest1713)
Posts: 0
 

Thank you for your response, but now I get this error:

A fatal MySQL error was encountered.
Query: INSERT INTO tablefanfiction_settings( `sitekey`, `sitename`, `slogan`, `url`, `siteemail`, `tableprefix`, `skin`, `language`, `submissionsoff`, `storiespath`, `store`, `autovalidate`, `maxwords`, `minwords`, `imageupload`, `imageheight`, `imagewidth`, `roundrobins`, `tinyMCE`, `allowed_tags`, `favorites`, `multiplecats`, `newscomments`, `recentdays`, `displaycolumns`, `itemsperpage`, `displayindex`, `defaultsort`, `reviewsallowed`, `ratings`, `anonreviews`, `revdelete`, `rateonly`, `pwdsetting`, `alertson`, `disablepopups`, `agestatement`, `words`, `smtp_host`, `smtp_username`, `smtp_password`) VALUES( 'ZaGnvNw4pE', '', '', '', '', '', '', '', , '', '', , 0, 0, , 0, 0, , , '', , 1, , 0, 1, 10, 0 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', '', '', '');
Error: (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' '', '', , 0, 0, , 0, 0, , , '', , 1, , 0, 1, 1


 
Posted : 05/01/2007 11:29 pm
(@tammy)
Posts: 2577
Member Moderator
 

Where are you trying to start from?  You were on step 3 so that's where I'd start over at and just fill in the settings as you go from there. You might want to restore the config.php and then start over at the beginning. 


 
Posted : 05/01/2007 11:43 pm
(@guest1713)
Posts: 0
 

Restored config and everything went smoothly. Thank you very much for your assistance. Do I offer a grateful bribe here?


 
Posted : 05/01/2007 11:52 pm
(@tammy)
Posts: 2577
Member Moderator
 

Nah.  A pat on the back is enough. πŸ™‚


 
Posted : 06/01/2007 1:29 am
Share: