Paths trouble

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
AM
Posts: 19
Joined: Sun 24. Oct 2004, 18:33

Paths trouble

Post 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!
Pappnase

Post by Pappnase »

hello

maybe you use one ftp client wich will not upload empty folders!
AM
Posts: 19
Joined: Sun 24. Oct 2004, 18:33

Post 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!
Pappnase

Post by Pappnase »

hello

then call the document_root.php and check the values you get there with the values in your conf.inc.php
AM
Posts: 19
Joined: Sun 24. Oct 2004, 18:33

Post 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...

:?
AM
Posts: 19
Joined: Sun 24. Oct 2004, 18:33

Post by AM »

With content and phpwcms_tmp at 755 permissions, I get:
Image

When I change content and phpwcms_tmp permissions to 766 or 777 (I do nothing with images,thumb_list and thumb_preview), I get:

Image

Some explanation?
What to do?
AM
Posts: 19
Joined: Sun 24. Oct 2004, 18:33

Post by AM »

Well...finally I get it.

I need to put content and phpwcms_tmp to 757...and all Green. :shock:
Pappnase

Post by Pappnase »

hello

normally it should be 777 for the tmp folder :roll:
Post Reply