Problems after upgrading from RC 1.1 to Dev 1.2.6

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
User avatar
Jörg_L
Posts: 69
Joined: Thu 3. Feb 2005, 09:41
Location: Eichwalde
Contact:

Problems after upgrading from RC 1.1 to Dev 1.2.6

Post by Jörg_L »

Hello phpwcms experts,

after upgrading my website http://www.rund-berlin.de I get a lot of error messages when I logged into the backend:
Warning: main(): Unable to access /home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php): failed to open stream: No such file or directory in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php:34) in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/phpwcms.php on line 201
I have changed the permissions of the directories as described at http://www.phpwcms-docu.de/update_auf_dev.phtml

Can anyone give me any hint how I can repair this.

With best regards

Jörg
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Re: Problems after upgrading from RC 1.1 to Dev 1.2.6

Post by DeXXus »

Jörg_L wrote:
Warning: main(): Unable to access /home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_ext/ss_image/ss_image.class.php in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_ext/ss_image/ss_image.class.php): failed to open stream: No such file or directory in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_ext/ss_image/ss_image.class.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34
Paths are not right in "config.inc.php":

Code: Select all

// site values
$phpwcms["site"]              = "http://www.rund-berlin.de/";

// paths
$phpwcms['DOC_ROOT']          = "/mnt/am2/04/642/00000018/htdocs";
$phpwcms["root"]              = "rund-berlin_2006";
User avatar
Jörg_L
Posts: 69
Joined: Thu 3. Feb 2005, 09:41
Location: Eichwalde
Contact:

Re: Problems after upgrading from RC 1.1 to Dev 1.2.6

Post by Jörg_L »

DeXXus wrote:
Paths are not right in "config.inc.php":

Code: Select all

// site values
$phpwcms["site"]              = "http://www.rund-berlin.de/";

// paths
$phpwcms['DOC_ROOT']          = "/mnt/am2/04/642/00000018/htdocs";
$phpwcms["root"]              = "rund-berlin_2006";
Hello DeXXus,

if I use suggestion page loading of rund-berlin.de needs a long time. In addition if I try to login into phpwcms the system is looking for ..../rund-berlin.de/rund-berlin_2006/phpwcms.php and does not find the file.

Do you or anyone hav any idea what I can do?

Jörg

really helpless
Pappnase

Post by Pappnase »

hello

please look in your setup dir there you will find a file called document_root.php. Please open the file with your browser and edit the last row in your conf.inc.php

Code: Select all

//$_SERVER['DOCUMENT_ROOT']     = '/home/www';
also please undo the changes in this rows

Code: Select all

// paths 
$phpwcms['DOC_ROOT']          = "/mnt/am2/04/642/00000018/htdocs"; 
$phpwcms["root"]              = "rund-berlin_2006";
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

-OR- the most "automated":

Code: Select all

// site values
$phpwcms["site"]            = "http://".$_SERVER['SERVER_NAME']."/";

// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "rund-berlin_2006";
User avatar
Jörg_L
Posts: 69
Joined: Thu 3. Feb 2005, 09:41
Location: Eichwalde
Contact:

Post by Jörg_L »

Thank you for your help,

I have changed now:

$_SERVER['DOCUMENT_ROOT'] = ""; (at the end of conf.inc.php)

$phpwcms["root"] = "";


Then I see again these error messages when I am logged in:
Warning: main(): Unable to access /home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php): failed to open stream: No such file or directory in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php:34) in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/phpwcms.php on line 201
Do you have other suggestions?


Best regards


Jörg
Pappnase

Post by Pappnase »

Jörg_L wrote:Thank you for your help,

I have changed now:

$_SERVER['DOCUMENT_ROOT'] = ""; (at the end of conf.inc.php)

$phpwcms["root"] = "";


Then I see again these error messages when I am logged in:
Warning: main(): Unable to access /home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php): failed to open stream: No such file or directory in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: main(): Failed opening '/home/strato/www/ru/www.rund-berlin.de/htdocs/include/inc_e ... .class.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/include/inc_lib/imagick.convert.inc.php:34) in /mnt/am2/04/642/00000018/htdocs/rund-berlin_2006/phpwcms.php on line 201
Do you have other suggestions?


Best regards


Jörg
hello

it's an simple pathproblem! if you want send me you ftp login and i will take a look in the next hours!
User avatar
Jörg_L
Posts: 69
Joined: Thu 3. Feb 2005, 09:41
Location: Eichwalde
Contact:

Post by Jörg_L »

Hello,

after trying your suggestions it seems that I have found a work arround for rund-berlin.de.

It seems that it is really a path problem.

The website rund-berlin.de is hostet at STRATO. I have reade in some threads at this board about STRATO-problems. So, here is my proposal for a solution:

My main domain is 3qm.de. phpwcms is installed in a subfolder called rund-berlin. So you can reach rund-berlin.de also via http://www.3qm.de/rund-berlin/. The rund-berlin.de-domain is piped to the subfolder rund-berlin.

In the config.php I have made som changes:
$phpwcms["site"] = "http://www.3qm.de/";
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "rund-berlin";


$_SERVER['DOCUMENT_ROOT'] = '/home/strato/www/3q/www.3qm.de/htdocs/rund-berlin';
With this modification it seems to work fine with one exeption.

If I have to login, I have to use http://www.3qm.de/rund-berlin/login.php

Perhaps this proposal could be a solution for other people who have problems with their phpwcms which is hosted by STATO.

But there is are also other problems with "umlauts" and with upgrading filestorage. So every images are not shown at rund-berlin.de To discuss this problems I will open an other thread.

Best regards


Jörg



Und jetzt noch mal in deutsch:
Hallo zusammen,

nachdem ich Eure Vorschäge ausprobiert hatte, glaube ich, einen Weg gefunden haben, das Problem zu lösen. Die Web-Site rund-berlin.de liegt auf einem Server von STRATO. In einigen Diskussionen hier im Formum habe ich gelesen, dass es öfter zu Problemen kommt, wenn phpwcms auf einem Strato-Server liegt. Also hier ist mein Vorschlag zur Probelmlösung:

Meine Haupt-Domain lautet 3qm.de. phpwcms ist im Unterverzeichnis rund-berlin installiert. Dadurch kann die Web-Site auch über http://www.rund-berlin.de/rund-berlin/ erreicht werden. Die rund-berlin.de-Domain wird allerdins auf das rund-berlin-Verzeichnis weiter geleitet. Die config.php habe ich wie oben beschrieben geändert.

Mit diesen Modifikationen scheint alles zu funktionieren mit einer Ausnahme. Einloggen muss ich mich über http://www.3qm.de/rund-berlin/login.php.

Allerdings habe ich jetzt noch andere Probleme, die die Umlaute betreffen und das Aktualisieren von "filestorage". Ich werde dies in einem anderen Thread zur diskussion stellen.


Beste Grüße


Jörg
[/url]
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Jörg_L wrote:In the config.php I have made som changes:
$phpwcms["site"] = "http://www.3qm.de/";
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "rund-berlin";


$_SERVER['DOCUMENT_ROOT'] = '/home/strato/www/3q/www.3qm.de/htdocs/rund-berlin';
$phpwcms["site"] = "http://www.3qm.de/";
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "rund-berlin";


$_SERVER['DOCUMENT_ROOT'] = '/home/strato/www/3q/www.3qm.de/htdocs';
User avatar
Jörg_L
Posts: 69
Joined: Thu 3. Feb 2005, 09:41
Location: Eichwalde
Contact:

Post by Jörg_L »

DeXXus wrote: $_SERVER['DOCUMENT_ROOT'] = '/home/strato/www/3q/www.3qm.de/htdocs';
Why should I set "htdocs" at the end? It does not change the login procedure. If I try to login at http://www.rund-berlin/login.php I got an error. If I login at http://www.3qm.de/rund-berlin/login.php everthing works fine.

Best Regards

Jörg
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

$_SERVER['DOCUMENT_ROOT'] is *SUPPOSED* to be the document root for the -=SERVER=-

...not the subdirectory where you have installed phpWCMS.

Try copying and running "document_root.php" file from setup folder of archive to your htdocs folder:
This file has to be placed in your web root - do not put it into any subdir of your webspace.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Jörg_L wrote:If I try to login at http://www.rund-berlin/login.php I got an error. If I login at http://www.3qm.de/rund-berlin/login.php everthing works fine.

Best Regards

Jörg
http://www.rund-berlin/login.php is not a valid URL
Which URL is to point to your site??
http://www.3qm.de -or- http://www.rund-berlin.???
Post Reply