Login problem after installation

Please post all install related problems here. Visit this forum first for troubleshooting.
Flinti
Posts: 19
Joined: Mon 3. May 2004, 21:42

Login problem after installation

Post by Flinti »

hi @ all

after i've installed "version 1.1-RC4 01-05-2004" and try to login after step5 i get a HTTP 404 error, page not found... and i have no clue what it could be... :?:
Password and Username are correct. if i give in a incorrect password and/or username, it brings "Errors during login!" and that is correct so.
all the permissions are set how they are should be...

could need some help here...plz... :cry:


--Flinti (german/english)


conf.inc.php code:

Code: Select all

$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "***";
$phpwcms["db_pass"]           = "***";
$phpwcms["db_table"]          = "donkeyst_phpwcms";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://www.donkeystyle.ch/phpwcms/";
$phpwcms["admin_email"]       = "info@mail.com";

// paths
$phpwcms["root"]         		= "phpwcms";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["file_tmp"]          = "phpwcms_tmp";     //default: "phpwcms_tmp"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["dir_thlist"]        = "thumb_list";   //default: "thumb_list"
$phpwcms["dir_preview"]       = "thumb_preview";  //default: "thumb_preview"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 0; //0 = GD,  1 = ImageMagick convert
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 3;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 1;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "en";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@mail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password
snobba
Posts: 166
Joined: Sat 6. Mar 2004, 12:41
Location: Sweden
Contact:

Post by snobba »

Hi Flinti,

Your path to your site is not http://www.donkeystyle.ch/phpwcms/phpwcms/

Change this:

Code: Select all

// site values
$phpwcms["site"]              = "http://www.donkeystyle.ch/phpwcms/";
to this:

Code: Select all

// site values
$phpwcms["site"]              = "http://www.donkeystyle.ch/";
/ Martin
Flinti
Posts: 19
Joined: Mon 3. May 2004, 21:42

Post by Flinti »

damn :lol: , thx!

i didn't even see that...
kurtb
Posts: 3
Joined: Wed 5. May 2004, 12:31
Contact:

admin troubles

Post by kurtb »

Hi,
I'm also a newbie (not only here, but also to php).
Everything worked fine so far, but I can't login now.
Now even as admin. It simply says: Errors during login!

I found a possible hint on the webpage: my provider supports safe_mode=on (well I can't change it).
That means I can't create a new user, right? Does that include the admin?

is there any workaround?
cheers
kurt
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

you can check this with phpmyadmin in your db, normally a user must be created while safe_mode is on (correct me oli if i am wrong)

if you can't create a user also post your conf.inc.php to let the community check it...
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Creating user is not restricted if SAFE_MODE = On

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

ok, sorry... :oops:
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

oh dear: a school boy error Jan :D
i don't know the diff really :oops:
kurtb
Posts: 3
Joined: Wed 5. May 2004, 12:31
Contact:

Post by kurtb »

Oliver Georgi wrote:Creating user is not restricted if SAFE_MODE = On

Oliver
schubidu - it worked. please don't ask me why, but for some strange reason, I can now log into wcms.

thanks for all answers
c ya
kurt
bossy22
Posts: 55
Joined: Sun 9. Nov 2003, 22:05

Post by bossy22 »

Habe das gleiche Problem. Kann mich nicht einloggen. "Error during login".

Hier meine conf.inc.php:


<?php

// database values
$phpwcms["db_host"] = "localhost";
$phpwcms["db_user"] = "phpwcms";
$phpwcms["db_pass"] = "phppass";
$phpwcms["db_table"] = "phpwcms";
$phpwcms["db_prepend"] = "";
$phpwcms["db_pers"] = 1;

// site values
$phpwcms["site"] = "http://localhost";
$phpwcms["admin_email"] = "martz@metricmedia.de";

// paths
$phpwcms["root"] = "phpwcms"; //default: ""
$phpwcms["file_path"] = "phpwcms_filestorage"; //default: "phpwcms_filestorage"
$phpwcms["file_tmp"] = "phpwcms_tmp"; //default: "phpwcms_tmp"
$phpwcms["templates"] = "phpwcms_template"; //default: "phpwcms_template"
$phpwcms["dir_thlist"] = "thumb_list"; //default: "thumb_list"
$phpwcms["dir_preview"] = "thumb_preview"; //default: "thumb_preview"
$phpwcms["content_path"] = "content"; //default: "content"
$phpwcms["cimage_path"] = "images"; //default: "images"
$phpwcms["ftp_path"] = "phpwcms_ftp"; //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"] = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 400; //max height of the large preview image
$phpwcms["max_time"] = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 0; //0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"] = 0; //whether URL should be rewritable
$phpwcms["wysiwyg_editor"] = 3; //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"] = 1; //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"] = "en"; //default language
$phpwcms["charset"] = "iso-8859-1"; //default charset 'iso-8859-1'

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] = ''; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL'] = 'martz@metricmedia.de'; // reply/from email address
$phpwcms['SMTP_FROM_NAME'] = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST'] = 'smtp.variomedia.de'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT'] = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER'] = 'smtp'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH'] = 1; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER'] = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS'] = ''; // default SMTP password


?>


Gruß
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Bitte immer erst prüfen, ob der user auch tatsächlich in der Datenbank angelegt wurde.

Config sieht erstmal in Ordnung aus.
bis auf die site:

http://localhost/

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
bossy22
Posts: 55
Joined: Sun 9. Nov 2003, 22:05

Post by bossy22 »

die site liegt auf meinem Rechner. Also http://localhost.

Habs im übrigen auch mit http://localhost(phpwcms versucht aber ohne Erfolg. Aber ich habe das Problem:

lphpmyadmin sagt mir, das auf der datenbank phpwcms keine Tabellen vorhanden sind.

hmmm

irgend ne idee?
User avatar
Oliver Georgi
Site Admin
Posts: 9920
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

ja - aber http://localhost/ - der "/" am Ende ist wichtig!!!

Spaßeshalber versuch es mal mit http://127.0.0.1/

Prüfe, ob die Tabellen auch wiklich angelegt wurden. Ansonsten manuell machen.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
bossy22
Posts: 55
Joined: Sun 9. Nov 2003, 22:05

Post by bossy22 »

Nein, es funzt auch mit dem / nach localhost nicht. Und auch nicht mit http://127.0.0.1.

Und nein es sind keine Tanellen angelegt worden.

Hast du nen Thread, welche Tabellen angelegt werden müssen?


Gruß
bossy22
Posts: 55
Joined: Sun 9. Nov 2003, 22:05

Post by bossy22 »

ok läuft alles. hatte vergessen "create admin account" abzuhaken.

sorry
Post Reply