Code shows up in a public page

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
carstenlegaard
Posts: 12
Joined: Thu 15. Dec 2005, 11:05
Location: Hilleröd, Denmark

Code shows up in a public page

Post by carstenlegaard »

"Warning: main(): Unable to access /var/www/senvinet.dk/public_html/phpwcms/include/inc_ext/ss_image/ss_image.class.php in /var/www/senvinet.dk/public_html/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/var/www/senvinet.dk/public_html/phpwcms/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /var/www/senvinet.dk/public_html/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/var/www/senvinet.dk/public_html/phpwcms/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/senvinet.dk/public_html/include/inc_lib/imagick.convert.inc.php on line 34"


These lines became public on my indexpage yesterday. The reason is that I changed location for the phpwcms-installation from the directory 'phpwcms' to the root level of the webserver.
Now, what I do I have to do to wipe out those lines? Is it a question of giving access rights or do I have to delete certain files? I can't read that out the context ...
*When you pass it on
be sure you've made it
a better one*
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi carstenlegaard,

1.26CVS/DEV?
have you set all folder/file permissions?
Is it a new installation at root?
You have changed your config.inc.php?

/

Code: Select all

/ site values
$phpwcms["site"]              = "http://www.mydomain.tld/";
$phpwcms["admin_email"]       = "webmaster@mydomain.tld";

// paths
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]        	     = "";         //default: "" 
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
jscholtysik

Post by jscholtysik »

Hi carstenlegaard,


how did your conf.inc.php look before the move and now?

Did you adjust the settings?


Joachim
carstenlegaard
Posts: 12
Joined: Thu 15. Dec 2005, 11:05
Location: Hilleröd, Denmark

Post by carstenlegaard »

I did not change any settings in the conf.inc.php, and maybe that's the trouble. Maybe, rather than gambling with codes, I should reinstall phpWCMS at root level and start all over (my website contains only two pages untill now)?
*When you pass it on
be sure you've made it
a better one*
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

carstenlegaard wrote:I did not change any settings in the conf.inc.php, and maybe that's the trouble. Maybe, rather than gambling with codes, I should reinstall phpWCMS at root level and start all over (my website contains only two pages untill now)?
It appears you have ~already~ installed it "at root level":
This line is the path of the script that's running:
/var/www/senvinet.dk/public_html/include/inc_lib/imagick.convert.inc.php on line 34
This is the path of the script being called (it can't be found because it's not ~at~ that path)
Unable to access /var/www/senvinet.dk/public_html/phpwcms/include/inc_ext/ss_image/ss_image.class.php
You have specified "phpwcms" as your $phpwcms["root"] in "config.inc.php" but it appears that you copied the files (installed phpWCMS) to your root. If so, try what fli-flop suggested:

Code: Select all

/ site values 
$phpwcms["site"]              = "http://www.senvinet.dk/"; 
$phpwcms["admin_email"]       = "webmaster@senvinet.dk"; 

// paths 
$phpwcms["DOC_ROOT"]          = $_SERVER['DOCUMENT_ROOT']; 
$phpwcms["root"]                = "";         //default: "" 
Post Reply