Page 1 of 1
Paths trouble
Posted: Sun 24. Oct 2004, 18:42
by AM
After installation, I get:
-----------------------------------------------------------------------
filestorage: phpwcms_filestorage OK (exists + writable)
temporary: phpwcms_tmp OK (exists + writable)
templates: phpwcms_template OK (exists + writable)
thumbnail list: thumb_list FALSE (not existing)
preview images: thumb_preview FALSE (not existing)
frontend content: content OK (exists + writable)
frontend images: images FALSE (not existing)
ftp takeover: phpwcms_ftp OK (exists + writable)
-----------------------------------------------------------------------------------
but "thumb_list, images and thumb_preview" EXIST.
I have tried all, uploading via ftp, creating folder in the server, changing permisions...
Yes, I have the correct paths in config file...
I'm turning crazy....please help!
Posted: Sun 24. Oct 2004, 19:27
by Pappnase
hello
maybe you use one ftp client wich will not upload empty folders!
Posted: Sun 24. Oct 2004, 20:24
by AM
That it is not the trouble. (I use Ace FTP..)
Even I have created the folders in the server thru CPanel file manager. The folders are there!
Posted: Sun 24. Oct 2004, 20:39
by Pappnase
hello
then call the document_root.php and check the values you get there with the values in your conf.inc.php
Posted: Sun 24. Oct 2004, 20:59
by AM
I did it... It's OK:
-----------------------------------------------------------------------------------
phpwcms DOCUMENT_ROOT test
This file has to be placed in your web root - do not
put it into any subdir of your webspace
1) your default $_SERVER['DOCUMENT_ROOT']: /home/djsastur/public_html
2) real DOCUMENT_ROOT based on this file : /home/djsastur/public_html
If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":
$_SERVER['DOCUMENT_ROOT'] = '/home/djsastur/public_html';
Check if this is corresponding with the subdir
in which phpwcms is installed:
$phpwcms['root'] = "";
-------------------------------------------------------------------------------------
Also I get this array with readdir() PHP function:
Array ( [0] => verify.php
[1] => thumb_preview
(look)
[2] => thumb_list
(look)
[3] => sample_ext_php
[4] => rss.php
[5] => picture
[6] => phpwcms_tmp
[7] => phpwcms_template
[8] => phpwcms_ftp
[9] => phpwcms_filestorage
[10] => phpwcms.php
[11] => paths.php
[12] => media.php
[13] => login.php
[14] => info.php
[15] => index.php
[16] => include
[17] => img
[18] => images
(look)
[19] => image_zoom.php
[20] => fileinfo_public.php
[21] => fileinfo.php
[22] => filehelp.htm
[23] => download.php
[24] => document_root.php
[25] => dbdown.php
[26] => copyright_notice.txt
[27] => content
[28] => changelog.txt
[29] => cgi-bin
[30] => browser_image.php
[31] => browser_file.php
[32] => article.php
[33] => _.htaccess
[34] => LICENSE.txt
[35] => INSTALL.TXT
[36] => GPL.txt
[37] => GPL.html
[38] => .htaccess
[39] => .
[40] => ..
)
Look....the folders (
thumb_list, images and thumb_preview) are there...
Posted: Mon 25. Oct 2004, 15:17
by AM
With
content and
phpwcms_tmp at
755 permissions, I get:
When I change
content and
phpwcms_tmp permissions to
766 or
777 (I do nothing with
images,
thumb_list and
thumb_preview), I get:
Some explanation?
What to do?
Posted: Mon 25. Oct 2004, 15:30
by AM
Well...finally I get it.
I need to put content and phpwcms_tmp to
757...and all
Green.
Posted: Mon 25. Oct 2004, 16:47
by Pappnase
hello
normally it should be 777 for the tmp folder