https://www.icyphoenix.com/viewtopic.php?f=35&t=8474
-----------------------------------
Jihuatz
Thu 12 Apr, 2012 03:43

Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Hello every one.  :mrgreen:   

I have problems for access to my web page, i not want to do something before support by yours.

When i access to my site a have the next message (problem):

[color=crimson][b]Fatal error: Call to undefined function session_pagestart() in /home/content/74/7470774/html/index.php on line 19[/b][/color]

I not do noting modifications on the template or files, and the forum is working good on the past tho days.  

I can't access to the ACP, when a tray to do i have the next messenge:
[color=crimson][b]
Fatal error: Call to undefined function session_pagestart() in /home/content/74/7470774/html/adm/pagestart.php on line 35[/b][/color]

And i can't access to the "Emergency Recovery Console" because i have the next error:

[color=crimson][b]Fatal error: Call to undefined function language_select() in /home/content/74/7470774/html/adm/erc.php on line 252[/b][/color]

Well i thank you from everyone that you can help me.

The Purepecha indigenous community from México also thanks you.

Have you day. I waiting for the support...


-----------------------------------
Joshua203
Fri 13 Apr, 2012 16:45

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Hi Jihuatz,

If you did not change anything maybe by accident you deleted or moved something?
I would start by checking if the includes folder is in the root of your forum if yes ..then check the content (especially sessions.php, functions.php and functions_dbmtnc.php)

Upload them fresh if any of them is missing


-----------------------------------
Jihuatz
Fri 13 Apr, 2012 19:57

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[b]Joshua203[/b], thank you some much for help us.  :)

I show you the picture for the index.php on line 19:

[img]http://img715.imageshack.us/img715/3326/12887612.png[/img]

And i show you the picture to when I try to access to ACP, data for the [i]pagestart.php on line 35[/i]:

[img]http://img96.imageshack.us/img96/5381/45582360.png[/img]

I think that files is not missing, I'm don't remember for maybe accidental files deleted. But i do rename files: sessions.php, functions.php and functions_dbmtnc.php from the includes folder on the server, and then i fresh upload new files, but i see same problem when i access to the page.

And when i replace the files, [b]now i can access to the[/b] "[i]Emergency Recovery Console[/i]" (adm/erc.php)!!!  :mrgreen: I do only: "Clear all sessions" and I see "All sessions were cleared successfully", but not have solution, I have some problem...

¿so what i do now?  :(


-----------------------------------
Joshua203
Fri 13 Apr, 2012 21:58

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
yes those lines are why i mentioned the 3 function files, well at least you have some access now  :mryellow: 

have you tried purging the cache there?


-----------------------------------
Jihuatz
Fri 13 Apr, 2012 22:15

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Yes I do that & I do every one options except "Disable GZip compression", "Grant user admin privileges", "Remove all administrators", and "Recreate config.php" the last one the information is good, I edited and watched on the server files.

But ... the problem is persist, I can't access to my page and ACP.  :(


-----------------------------------
Joshua203
Sat 14 Apr, 2012 14:54

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Well since you mentioned you have no modifations, you could try overwriting the full includes folder (it's a bit rough but since the replacement already gave a small fix I think it's worth a shot)

or even try and replace common.php in the root?


-----------------------------------
Jihuatz
Sun 15 Apr, 2012 00:12

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
WOW that is awesome!  :mrgreen: 

Ok, I do replace the full includes folder & replace common.php, after that a can see my web page, too slow right now. I thing a need to enter to ACP for optimizing or something, but a can't enter there, a see the next code/text: 

[code linenumbers=false]tor'; // admin_google_bot_detector.php // ####################### [ ACP Navigation END ] ####################### ?>leadded_not_validated' => 'The new file has been successfully added, but a moderator (admin) needs to validate the file before approval.', ) ); ?>[/code]

what you think I need to do for successful enter to ACP?  :chef:


-----------------------------------
Joshua203
Tue 17 Apr, 2012 00:17

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[quote user="Jihuatz" post="55557"]what you think I need to do for successful enter to ACP?  :chef:[/quote]

Well I could start telling you to replace lots of files at random but I mostly wonder WHY or HOW this got broken in the first place.

Maybe it would be more wise to wait until someone else replies who has more knowledge and some bright ideas?


-----------------------------------
TheSteffen
Tue 17 Apr, 2012 23:57

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Well, for me it looks like you site is so slow, that you get into a timeout by surfing your site.

I would switch to a standard style of IP and deactivate all this extra scripts like wibiya.com autostart music and so on
On this wordpress site you have a trojaner maybe on other too, I didnt check that
Hidden Message:
Sorry, but you must be registered and also post a reply to view this message.


Maybe you have more than one probleme why you server is so slow.
Check all your sites... Make backup of all the site (DB and ftp) and try to find the problem ;-)


-----------------------------------
Jihuatz
Wed 18 Apr, 2012 23:28

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
My friend [b]Joshua203[/b], thank you some much for you patience and help. I am thankful and proud! Today I fix everything on my page, our web page now is working wonderful. Finally I do replace all files on the server for new files like fresh install, exactly you recommend to me. Maybe we never understand how some person enter to the server and edit files like index.php on the root server and more files like one folders for our icy phoenix.

My frind [b]TheSteffen[/b], thank you for your recommendation, yes we have problem for the [i]wordpress[/i] on the domain you see, we erase totality the files on there and maybe we use a different platform for that specific web page. We thing we remove all spy-ware on the server, but wen you have time check us server again please.

Thank you so much for all of your help and hard work to me. I am very proud to be every one.  :mrgreen:


-----------------------------------
Hans
Thu 19 Apr, 2012 00:19

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[quote user="Jihuatz" post="55593"]My friend [b]Joshua203[/b]Maybe we never understand how some person enter to the server and edit files like index.php on the root server and more files like one folders for our icy phoenix.[/quote]

If your website is on a "public" server make sure you CHMOD your files 705 or 605, also make sure the files are owned by your account only. That way other users of the server cannot tamper with your files.


-----------------------------------
Joshua203
Thu 19 Apr, 2012 00:23

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
You're welcome Jihuatz,

Good to hear you fixed it, great job and congratulations  :wink: 

I would keep checking your server for a while ...looking for suspicious folders, files and file content if I were you (just to make sure you are safe!)

I noticed you stopped autoplay radio (Like theSteffen advised, [thanks Steffen for jumping in  :wink: ] ), keep in mind that most visitors don't like forced music anyway ... giving them a choice to start is more user friendly and like theSteffen said it speeds up loading the page (I already noticed a big speed difference at your portal.

Greetings and take care,
...Joshua203

PS ...I will mark this thread "SOLVED" for you ... in the future you can do this yourself too :wink:


-----------------------------------
Jihuatz
Fri 20 Apr, 2012 20:06

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
...[i][b]Joshua203[/b][/i] thank you again.  :chef: 

We erase the wibiya.com script on my page, but we keep listen radio on autoplay because is sponsors desition.  :oops: 

Thanks my friend [i][b]Hans[/b][/i], I do make CHMOD our files to 705 and I thing everything is working fine.  :mrgreen:


-----------------------------------
Hans
Sat 21 Apr, 2012 09:38

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[quote user="Jihuatz" post="55607"]...[i][b]Joshua203[/b][/i]
Thanks my friend [i][b]Hans[/b][/i], I do make CHMOD our files to 705 and I thing everything is working fine.  :mrgreen:[/quote]

No problem. And that is just extra precaution. You don't want to chmod everything 705 though. I will include a better example, however I am glad you got your website working.


I would start by changing directory to the root directory of IcyPhoenix. Execute the following command first to give only the owner write acces and read access only to web-users.
[code linenumbers=false]/icy_phoenix$ sudo chmod 705 -R ./[/code]

After that command you will need to give the permissions to the following directory and files as quoted.


[code linenumbers=false]
chmod 707 backup
chmod 707 cache
chmod 707 cache/cms
chmod 707 cache/forums
chmod 707 cache/posts
chmod 707 cache/sql
chmod 707 cache/topics
chmod 707 cache/uploads
chmod 707 cache/users
chmod 707 downloads
chmod 707 files
chmod 707 files/album
chmod 707 files/album/cache
chmod 707 files/album/med_cache
chmod 707 files/album/users
chmod 707 files/album/wm_cache
chmod 707 files/posted_images
chmod 707 files/screenshots
chmod 707 files/thumbs
chmod 707 images/avatars
chmod 707 logs
chmod 606 logs/logfile_attempt_counter.txt
chmod 606 logs/logfile_blocklist.txt
chmod 606 logs/logfile_debug_mode.txt
chmod 606 logs/logfile_malformed_logins.txt
chmod 606 logs/logfile_spammer.txt
chmod 606 logs/logfile_worms.txt
[/code]

After doing that your site will be a little more safe. Most larger public hosts automatically chmod files in that manner though.


-----------------------------------
Jihuatz
Wed 25 Apr, 2012 14:53

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
My friend Hans, thank you some much for you recommendations, that is a big more safe for our site.

I've done everything you recommend, except 4 don't find the files: logfile_blocklist.txt, logfile_debug_mode.txt, logfile_malformed_logins.txt, logfile_spammer.txt and logfile_worms.txt 

Our site is working better, thanks 4 u help!  :mrgreen:


-----------------------------------
Hans
Sat 28 Apr, 2012 07:37

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
[quote user="Jihuatz" post="55627"]My friend Hans, thank you some much for you recommendations, that is a big more safe for our site.

I've done everything you recommend, except 4 don't find the files: logfile_blocklist.txt, logfile_debug_mode.txt, logfile_malformed_logins.txt, logfile_spammer.txt and logfile_worms.txt 

Our site is working better, thanks 4 u help!  :mrgreen:[/quote]

Those log files you will often need to create first, sometimes IcyPhoenix can create them, however only if you allow the server to make files in that directory. So if they are not there just create some empty that are named exactly as you see there, and then give those empty files the permissions needed.

Glad I could help you though.


-----------------------------------
Jihuatz
Wed 02 May, 2012 18:51

Re: Fatal Error: Call To Undefined Function Session_pagestart() In /index.php - /pagestart.php - /erc.php
-----------------------------------
Hans, tank you some much, appreciate. Those files is successfully created with the respective permissions. 

Many greetings my friend.  :chef:


