This topic is locked
[SOLVED]

 Errors/fixes after uploading to hosting server (ipower.com)

9/17/2008 8:43:43 AM
PHPRunner General questions
M
mattd1 author

I uploaded the whole test application, after setting up the database which seems OK.
I got a couple of errors:
(1) Can't connect to local MySQL server through socket ...

Solved: need to set $host in dbcommon to the correct host path for my domain's mysql server
(2) Can't save php session data ...
I have tried to modify the login.php script to include:

*Partly Solved?* session_save_path("where my host wants sessions stored"), and start_session()
(3)
Remaining problem:** The error message is no longer presented, but I am continually returned to the login.php page (expired).
Do I need to do the session setting somewhere else? In all scripts? Any ideas welcomed!
Thanks.
Matt

M
mattd1 author 9/17/2008

Now managed to solve this.
I have also inserted the session_save_path into the dbcommon.php ahead of the cache line.
This has at least worked for my first function - I can now try the rest out!
Uh-oh, still seem to be having a couple of problems to do with sessions. Can anyone give me any pointers on what files need attention regarding session_start/session_save? Or if there are other things I need to consider?
All help greatly appreciated.
Thanks, Matt.