Yes! Again: troubles creating admin account

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Stayfun
Posts: 3
Joined: Thu 7. Oct 2004, 13:36

Yes! Again: troubles creating admin account

Post by Stayfun »

Hi,

Although I'v spend about an hour or 2 reading topics on this forum, I'm still not succeeding in creating an admin account. It keeps giving the message:

Check your admin user name and password!

All the tables are created
No capslock or wrong password
All the permissions correct

Code: Select all

<?php

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

// site values
$phpwcms["site"]              = "http://www.*****.com/";
$phpwcms["admin_email"]       = "info@****.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"]          = 1800000; //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, 2 = ImageMagick 4.2.9
$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"]    = 1;  //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'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 0;  //0 = Graphical Text MOD disabled, 1 = enabled
$phpwcms["jpg_quality"]       = 75; //JPG Quality Range 25-100
$phpwcms["sharpen_level"]     = 1;  //Sharpen Level - only ImageMagick: 0, 1, 2, 3, 4, 5 -- 0 = no, 5 = extra sharp
$phpwcms["allow_ext_init"]    = 1;  //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"]  = 1;  //allow including of custom external scripts at frontend rendering

// 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@defransekamer.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']       = 'mail'; // 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


// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = '/var/www/html';


?>
Can anyone help?

Thanx, Stayfun
DiG
Posts: 29
Joined: Tue 18. May 2004, 13:13
Location: Russian Federation, Tyumen, Western Siberia

Post by DiG »

Had it to.
Fix:
Check CHMOD (rights) for ..setup/setup.conf.inc.php
Best of all set 766 (I don't like triple 6)
Let's make this world better.
Stayfun
Posts: 3
Joined: Thu 7. Oct 2004, 13:36

Post by Stayfun »

Thanx for the help,

Unfortunately, no luck!
I think it's a permission problem though, either in database or in the regular files,

Code: Select all

1) DIR   phpwcms_tmp/thumb_list                    777 
2) DIR   phpwcms_tmp/thumb_preview                 777 
3) DIR   phpwcms_ftp                               777 
4) DIR   phpwcms_filestorage/1...10                777 
5) DIR   content/images                            777 

6) FILE  setup/setup.conf.inc.php                  666 
6) FILE  include/inc_conf/conf.indexpage.inc.php   666 
7) FILE  phpwcms_template/inc_css/frontend.css     666 
8) FILE  phpwcms_template/inc_default/startup.html 666
greetz stayfun
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

you may try emptying your phpwcms_user' table and the nrunning setup again - you only need to go as far as the 'create admin' part.
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Post by macangelo »

I have the same, don't get through!

I'v set the setup.conf.inc.php to 766 or 777 - nothing works.

Any more ideas?

Thanks
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
zarkowski
Posts: 1
Joined: Sun 10. Oct 2004, 16:22

Create all db tables

Post by zarkowski »

8) Had the same problem and noticed that the "create all db tables" box had to be activated.
Pappnase

Post by Pappnase »

hello

did you install it the first time!? did you use a prepend!?
Stayfun
Posts: 3
Joined: Thu 7. Oct 2004, 13:36

Post by Stayfun »

Hi,

I did not use a prepend, tried with ** in the field and without.
Greetz,

Stayfun
Post Reply