setup>step5 not reconising directories

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

setup>step5 not reconising directories

Post by pSouper »

hi O and all you other dudes,
I have been having much fun setting WCMS up. It feels like my computer needs spoon feeding this stuff in :)

now I have got as far as loging in as adimistrator but it then redirects me to my index.html over and over for ever+ :( and now i'm sad.

incedentally...
my step5 reads like a who's who on the fbi mostwanted list...
(all dirs are really/truly in the root and have the default names)
filestorage: phpwcms_filestorage FALSE (not existing)
temporary: phpwcms_tmp FALSE (not existing)
templates: phpwcms_template FALSE (not existing)
thumbnail list: thumb_list FALSE (not existing)
preview images: thumb_preview FALSE (not existing)
frontend content: content FALSE (not existing)
frontend images: images FALSE (not existing)
ftp takeover: phpwcms_ftp FALSE (not existing)

any help by anyone to help resolve my problems would really be appreciated.
thnaks in advance pSouper.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Post your path values without user/passwords.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Hi Oliver, Whooa that respose was so quick.

Post by pSouper »

Hi Oliver, thanks for being so damn quick - you cant be as busy as your work output suggests or maybe super conciencious.

this is my in_conf/conf.inc.php file

<?

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

// site values
$phpwcms["site"] = "http://www.tinytots.tv/";
$phpwcms["admin_email"] = "";

// paths
$phpwcms["root"] = "TINYTOTS"; //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; //if 1 = page compression, 0 = no compression

// debugging timer
$phpwcms["timer"] = 0; //is for displaying a how long it needs to create


?>
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

and my website dir is..
D:\WEB SITES\LIVE Sites\wwwroot\TINYTOTS
and it's run from my computer [localhost] on winxp pro/iis 5.x
if this helps any.
ruben
Posts: 29
Joined: Mon 10. Nov 2003, 21:58
Location: Norway

Post by ruben »

Hi pSouper,

I had the same problem, and fixed it by CHMOD the directories to 777 instead of the suggested 755.

Ruben
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Hm there is something that makes no sense:

Code: Select all

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

// site values 
$phpwcms["site"] = "http://www.tinytots.tv/"; 
$phpwcms["admin_email"] = ""; 

// paths 
$phpwcms["root"] = "TINYTOTS"; //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; //if 1 = page compression, 0 = no compression 

// debugging timer 
$phpwcms["timer"] = 0; //is for displaying a how long it needs to create 
If you use "../" this means all folders are located here "D:\WEB SITES\LIVE Sites\wwwroot\" but think phpwcms is installed here "D:\WEB SITES\LIVE Sites\wwwroot\TINYTOTS\"

Your database host is NOT http://... -> only localhost or the IP of server.

Only "phpwcms_filestorage" and "phpwcms_ftp" can be located outside the phpwcms_root dirctory!!!! and then defined as "../".

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

thanks ruben,
you know my next question don't you ;)
what is PHMOD and how do i use it?
I have seen this in the docs and wondered about it too...

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

6) FILE setup/setup.conf.inc.php 666
7) FILE phpwcms_template/inc_css/frontend.css 666
8) FILE include/inc_conf/conf.pagelayout.inc.php 666

i'm assuming this is what you reffer too? who would i get and set these values please?

thanks again guys.
ruben
Posts: 29
Joined: Mon 10. Nov 2003, 21:58
Location: Norway

Post by ruben »

try Olivers solution first pSouper before you change the 'rights' on the folders.

Ruben
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

thanks for the tip Oliver - i had been trying to try things and forgot to correct it when posted DOH!.

I have dropped the ../ for mthe path names now...
$phpwcms["file_path"] "phpwcms_filestorage"; etc, etc

dropped the http:// from the localhost...
$phpwcms["db_host"] = "localhost";

stiil the same action though - love to try the permissions thing Ruben was saying just to see if it works then consider security after.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

It seems to work - is your problem gone? I have tested your domain.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

It's quite strange now, it says...
USERS ONLINE mylogonname but doesn't offer me any thing to do other than....
please insert your login data
username
password
login

on entering again it redirects me to the login again - hope this makes sence ;)
ruben
Posts: 29
Joined: Mon 10. Nov 2003, 21:58
Location: Norway

Post by ruben »

don't you see the username and password box after you clicked the login link?

there you fill in the username and password you used in the setup. (default: webmaster/admin)

Ruben
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

hi guys,
still no joy :( and i know this is probalby not pleasing you guys either but I really apreciate your help this far.
I turned on full error noticing and now have this appear on the login page...

Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in D:\WEB SITES\LIVE Sites\wwwroot\TINYTOTS\include\inc_lib\default.inc.php on line 25

Notice: Undefined index: DOCUMENT_ROOT in D:\WEB SITES\LIVE Sites\wwwroot\TINYTOTS\include\inc_lib\default.inc.php on line 37

Notice: Undefined index: form_aktion in D:\WEB SITES\LIVE Sites\wwwroot\TINYTOTS\login.php on line 39

i wonder if any of this helps...
as I have said before - the install didn't go so smoothly so i used PHPmyAdmin and imported the two .sql files by hand.

my PHP.ini / mySQL section is....
[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = On

; Maximum number of persistent links. -1 means no limit.
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent). -1 means no limit.
mysql.max_links = -1

; Default port number for mysql_connect(). If unset, mysql_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =

; Maximum time (in secondes) for connect timeout. -1 means no limimt
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
; SQL-Erros will be displayed.
mysql.trace_mode = On
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Is this PHP install anywhere in the web or on your local PC?

Maybe - do not use spaces in paths! That may make problems. :?:

Code: Select all

D:\WEB SITES\LIVE Sites\wwwroot
      =          =
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

hi again, thanks for sticking with me here guys,

I have now removed all whitespaces from my pathnames [thanks for tip]
I am getting exactly the same problem...
once loged in the screen redirects itself to the index.php and on to the login screen - i get no menu or option other than to login in again.
i have setup a webaster/admin account for anyone to try, you will see what I mean.
i dont even get the choice to logout again :(

speak soon :) pSouper
Post Reply