problem with login.php, do not have access to php.ini

Please post all install related problems here. Visit this forum first for troubleshooting.
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

This seems to be a session problem of your webhoster. Please try this and tell what it is giving as result:

Create a new file "test.php" in your web root:

Code: Select all

<?php

session_start();

$_SESSION['test'] = "TEST";

if(!isset($_SESSION['test'])) {
  echo 'Hey - error. No Session.';
} else {
  echo $_SESSION['test'];
}

?>
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

test.php

Post by shane »

Oliver,

This is the result of test.php

Fatal error: session_start(): Failed to initialize storage module. in /hsphere/local/home/ssmith/s2studio.org/test.php on line 3
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

as I told you via email - kill your webhoster ;-)

Do you have a .htaccess file installed?

regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

.htaccess

Post by shane »

Oliver,

I have been fighting with them since i started using them <sigh>. Maybe tonite I will look around and find someone new.

in response to your question, i do have .htaccess installed.
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

try to rename .htaccess to .htaccess_bak and check the test.php again. Maybe the .htaccess is not neccessary or includes code that is responsible for your error messages.

Regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

test.php works but no login.php

Post by shane »

I renamed the htaccess file and now test and sessiontest work however when I go to login.php

I receive this error

Parse error: parse error, expecting `'('' in /hsphere/local/home/ssmith/s2studio.org/include/inc_conf/conf.inc.php on line 51

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /hsphere/local/home/ssmith/s2studio.org/include/inc_lib/default.inc.php on line 27
Error while trying to connect
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

on a seperate note

Post by shane »

does anyone know of any quality webhosting services which handle Eng. pref in US?
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

i havebeen happy with http://www.sp34.com a uk based host with a us community. BUT I am still trying to clear up a thumbnail issue, this may not be thier issue though :)
they are cheap the prices/pipe options are very clean and simple. thier live irc help/chat room has a really good service and they even has a us guy in the room for people on your time
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Try to remove all comments form your conf.inc.php - the part of a line behind ; starting with // (have never seen such error). The config cou have posted seems to be OK.

You can also try to disable line 51 and check what happens then.

Is the database of phpwcms created?

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

DATABASE IS GO

Post by shane »

Oliver the database was created and have checked it to ensure and as far as I can tell all the tables have been created
shane
Posts: 12
Joined: Thu 15. Apr 2004, 21:17
Contact:

WORKS

Post by shane »

I can now login! Thanks so much.

I have been a part of the Drupal community for a year and I have never had such great support then what I have found here.

best,
s
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

:-)

hope phpwcms fits your needs.

Regards
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

My vote goes to phpwebhosting.com

They are very easy to work with and they are flexible with bandwidth and storage. If you wanted something more "managed" (as in you don't want to mess with it) you can also host with my company. But if you want a host catered to developers then phpwebhosting.com is really good.

Good Luck
Post Reply