Updating content problems

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

Updating content problems

Post by cczfury »

Hello,

I installed PHPWCMS yesterday in my Windows 2000 Professiona Web Server with IIS and everything ran smoothly until I finished installation- it said it couldn't detect any folders in the last step- and even if I changed the info it still couldn't. The access parameters were even set to let everyone have permission to write/read/modify!

Then I initialized PHPWCMS and it seemed to be working- but when I try to post an article it gets stuck in the page and seems to be sending the info all the time- but never finishes. However, if I go to the index.php place I see a blank page with the text that I tried writing in the article.

Also, when I try to change page layout (which I think is the reason index.php is blank) I can never change the info. When I for example only change the title and click on "Update Page Layout" it refreshes the page without having changed anything. I am 100% sure that the permissions are set to let EVERYONE read/write/modify... :shock:

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

Post by Oliver Georgi »

Check your permissions again - or your PHP installation. Something is wrong. I use some installations on Windows 2000 too - no problems ever.

register_globals should be OFF

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

OK

Post by cczfury »

How do I set up permissions in Windows 2000 Professional? I use my own computer as server... I right-clicked on the folder and clicked on Security and checked all the options, is that it?

http://80.35.134.109/proweb/index.php is blank- I don't think it's supposed to be like that.
Florian
Posts: 119
Joined: Wed 19. Nov 2003, 16:50
Location: Hamburg
Contact:

Post by Florian »

Hello cczfury!

You've got to switch it off / on in the PHP.ini. Depending which PHP Version you are using, it's turned OFF by default (from 4.2.0 as I know). I recomend, that you use 4.3.4 (newest one).
Kann you publish you php.log here for more detailed support?!

Cheers,
Florian
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

heh

Post by cczfury »

Wait, you misunderstand. My PHP.ini file already has register_globals set to OFF

What I'm asking is how to set the file permissions to something that will work. Since it's my server I can't use my FTP manager to do so 8)
User avatar
Oliver Georgi
Site Admin
Posts: 9919
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

On Windows 2000 there are file permissions - but that shouldnt your problem. Sound your path values are not setted correctly.

Post config.inc.php without user/password.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

This is the config.inc.php

Post by cczfury »

This is the config.inc.php.
// phpwcms base values -> needed in any document

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

// site values
$phpwcms["site"] = "http://80.35.134.109/";
$phpwcms["admin_email"] = "user@mail.com";

// paths
$phpwcms["root"] = "proweb";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["file_tmp"] = "phpwcms_tmp";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["dir_thlist"] = "thumb_list";
$phpwcms["dir_preview"] = "thumb_preview";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "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"] = 538; //max height of the large preview image
$phpwcms["max_time"] = 1800; //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten

// other stuff
$phpwcms["compress_page"] = 0; //if 1 = page will be GZIPped, 0 = off

$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"] = ""; //Path to ImageMagick
$phpwcms["use_gd2"] = 1; //if 0 = GD1, 1 = GD2

?>
Phpwcms lies in http://80.35.134.109/proweb/
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

i have the same issues on a similar setup and have found this to work but have no real idea why...

to login i use this line ...

Code: Select all

$phpwcms["root"]         		= "";         //default: ""
this is the only line that appears to work to get me in to the phpwcms.php [alough i MUST login in twice - strange]
Then when in the site I change the same line to...

Code: Select all

//$phpwcms["root"]         		= "wwwroot/websites/tinytots/";         //default: ""
where the addrress is the real path not including the drive letter.

this then lets me upload/download and place images/thumb etc into articles.

would you see if that work for you and let me know too?
[a small 'paths' prob with the later config line that does not happen with first config line is that while typing in the chat room, you will get a 500 error when you hit return. using 'back' on your browser will take you back to the chat room to find the last thing you type in did send ok] - not acceptable but may help in the debuging or our paths issue.

thanks in advance pSouper
cczfury
Posts: 11
Joined: Sun 23. Nov 2003, 10:42

oh cool

Post by cczfury »

OK gonna try that now. Thanks!

EDIT: By the way, why would that work? My directory lies in http://80.35.134.109/proweb not only http://80.35.134.109 :S
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

i have less idea as to why it works form me than you do :)
would love to know how to fix the problem so that it'll work properly though - any takers?
Post Reply