Notifications
Clear all

efiction and php

13 Posts
2 Users
0 Reactions
2,325 Views
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

Does anyone know what version of php efiction runs at?  I tried upgrading my php to 5.3  but I got a bunch of errors on my site till I went back to 5.2


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 03/01/2013 10:11 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Early 5 I think. Was it about datetime? I got that too because the 5.3 includes E Warnings about the changes made in 5.1. (PHP dev goes Stuff gets changed > Warnings added several versions later > a few versions later the old way to do it no longer works.)

It's talked about here in case that's your problem: https://efiction.org/forums/index.php?topic=8123.msg44207#msg44207


 
Posted : 03/01/2013 11:13 pm
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

no, it was something about the header.   I can grab the error.   If you can help, that would be so wonderful.  

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 45

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 45

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 46

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 46

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 47

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 47

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 48

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 48

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 49

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 45

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 45

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 46

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 46

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 47

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 47

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 48

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 48

Deprecated: Function eregi() is deprecated in /home/**/public_html/fanfiction/header.php on line 49

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/**/public_html/fanfiction/header.php:45) in /home/**/public_html/fanfiction/header.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/**/public_html/fanfiction/header.php:45) in /home/**/public_html/fanfiction/header.php on line 65

Warning: Cannot modify header information - headers already sent by (output started at /home/**/public_html/fanfiction/header.php:45) in /home/**/public_html/fanfiction/header.php on line 66

Warning: Cannot modify header information - headers already sent by (output started at /home/**/public_html/fanfiction/header.php:45) in /home/**/public_html/fanfiction/header.php on line 67


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 04/01/2013 3:05 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

You could refer to this, maybe it would help.

https://efiction.org/forums/index.php?topic=7636.0

That user was at 3.5.2 so I would guess the change is in 3.5.3. (Unless that person just hadn't upgraded.) In that case you could check the SVN and grab the latest header.php from there.

http://efiction.svn.sourceforge.net/viewvc/efiction/


 
Posted : 04/01/2013 11:43 pm
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

if you do recommend I upgrade, I just downloaded the file and unzipped it.  do I just upload all of those files into my root directory?  I'm worried about overwriting any user files.... or the config.php file. 


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 04/01/2013 11:56 pm
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

or can I just take the header.php file and upload that?  Would that cause issues?


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 05/01/2013 12:00 am
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

sorry to keep posting, i'm at 3.5.1.


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 05/01/2013 12:03 am
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

update,  I just uploaded the header.php and so far things seem ok.  Will I be ok even though I did not update rest of the files?  I am concerned to do this upgrade because of all those fatal sql errors I read about in the forum and I'm worried about overwriting any user files.... or the config.php file.  🙂  Thanks for all the help!


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 05/01/2013 1:10 am
(@lyndsie)
Posts: 1263
Member Moderator
 

I definitely recommend updating to 3.5.3. Most of the changes are security updates. I wouldn't do just the header.php though; maybe you could try it on a different file but that one is in every page.

To do an upgrade you should overwrite all files but the skins folder. You shouldn't upload the install folder and it's not necessary to do TinyMCE. (It's huge and there were no changes. However there are some updates you can do if you want that I posted info about somewhere that's not in the official release.) The config file won't be overwritten because that is not in the main directory of the release. (It's in docs.) After that it should auto prompt for the upgrade, if it doesn't it's in admin.

If you've done custom mods you'd need to redo them.

Naturally you should run backups before doing this.


 
Posted : 05/01/2013 1:12 am
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

i have 3 mods that I have installed. challenges, beta reader list and story end.  I don't even remember where I got them from!  Oh my..


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 05/01/2013 1:24 am
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

Lyndsie, you are amazing.  The instructions you gave me seemed to work great.  I'm not having any problems.  I figured out how to get the mods going by looking at the read me texts in the mods that were in the module folder.  The site said its updated and is now running at 3.5.3.  So far no php errors.  Will definitely tell you all if I have any issues.

Thank you again, I can't thank you enough for the help.  I really appreciate it.


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 05/01/2013 2:32 am
(@lyndsie)
Posts: 1263
Member Moderator
 

Ah, sorry. Mods are different than modules. Mods = modifications. But yeah I forgot to mention that you should not overwrite the modules folder with the whole new modules folder if you've added more. Instead you should do the individual folders inside. FYI Tammy posted some more modules etc that she did here that aren't part of the main download: http://hugosnebula.com/downloads/category-10.html So for instance if you have some of those you wouldn't want to do the whole folder, because it could overwrite the entire thing and delete stuff. (Depending on how you / your FTP program does it.)

Some people actually modify the core files, either for function or bug fixes. I've modded my site's submissions queue with a timestamp and done a bunch of other stuff that I don't remember, so every time I do an update I have to redo those modifications. When 2.0 became stable the updates only included the files that were actually changed, but most of the 3.0 updates hit most of the files so we end up overwriting all of them.


 
Posted : 05/01/2013 3:11 am
(@aquaanimus)
Posts: 82
Trusted Member
Topic starter
 

Even though I did copy the entire module folder over,  the modules were still in there.  I just had to re do the instructions in the read me.  So hopefully that is what you meant by redoing them.  Sorry , I'm a total newb.  lol.  I had the Challenges,  Story end, and Beta reader.  They all seem ok though. I think the only one I had to really redo is the story end, actually. 


"Quoth the raven, `Nevermore.'"  - EAP

 
Posted : 06/01/2013 11:10 am
Share: