Upgrade Filestorage

Please post all install related problems here. Visit this forum first for troubleshooting.
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

ok, I upload the files now with the Total Commander and the default.inc.php now works...also to UPGRADE FILESTORAGE

But I can't login -> look this

Code: Select all

Fatal error: Call to undefined function: getremoteip() in daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/login.php on line 165
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Total Commander:

Konfiguration -> Einstellungen
-> FTP -> Standard Transfermodus: Binär
-> FTP ->[X] Benutze standardmäßig den Passivmodus

And don´t use "Wandle Dateinamen in Kleinbuchstaben um" !!!!

Please upload the file "/include/inc_lib/general.inc.php" again.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

all right, I can log in, but after login is nothing ??????

:shock:
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Using this TC-settings please upload all files again.

Your FTP tranfer doesn´t work right. I don´t know why. (FTP timeout????)

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

I upload all files with the TC-settings, i get no failure message, but after login there is nothing??

:shock:

What can I do? New install, but I have a lof of sites and articles on my site....can I restore this?
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

Please help me, what can I do now, my site is down.... :(
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Good morning, nukia2,

please check your path settings.

The old one (Kill all):
1.1RC.... wrote:// site values
$phpwcms["site"] = "http://www.phpwcms.de/";
$phpwcms["admin_email"] = "";

// paths
$phpwcms["root"] = "";
$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";
The new one at /config/phpwcms/conf.inc.php
conf.inc.php wrote:// site values
$phpwcms["site"] = "http://".$_SERVER['SERVER_NAME']."/";
$phpwcms["admin_email"] = "webmaster@example.com";

// paths
$phpwcms['DOC_ROOT'] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = "";
$phpwcms["file_path"] = "phpwcms_filestorage";
$phpwcms["templates"] = "phpwcms_template";
$phpwcms["content_path"] = "content";
$phpwcms["cimage_path"] = "images";
$phpwcms["ftp_path"] = "phpwcms_ftp";
And please compare your old config (1.1.RC) to your new one (1.2.6).
Please don´t run the old config at the new system.
Catch the new (1.2.6) config and fill up this entries above.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

yes I have modified the config

Code: Select all

// database values
$phpwcms["db_host"]           = "db02.....at";
$phpwcms["db_user"]           = "Username";
$phpwcms["db_pass"]           = "password";
$phpwcms["db_table"]          = "my_wcms";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"] = "http://".$_SERVER['SERVER_NAME']."/";
$phpwcms["admin_email"] = "webmaster@example.com";


// paths
$phpwcms['DOC_ROOT']          = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"]              = "";
$phpwcms["file_path"]         = "phpwcms_filestorage";
$phpwcms["templates"]         = "phpwcms_template";
$phpwcms["content_path"]      = "content";
$phpwcms["cimage_path"]       = "images";
$phpwcms["ftp_path"]          = "phpwcms_ftp";
but it doesn't work??
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Please copy the file document_root.php (/setup/document_root.php) into your site root and run.
Have a look to the output and change your conf.inc.php

If the site is running, please kill this file and the folder setup. :wink:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

Ok, I run the document_root.php

result:

Code: Select all

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']: daten:/usr
2) real DOCUMENT_ROOT based on this file : daten:/usr/vhosts/4AL04/www.meinedomain.at/htdocs/setup

If (1) and (2) not equal then add following
line at the end of your conf.inc.php but before ending "?>":

$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/setup';

Check if this is corresponding with the subdir
in which phpwcms is installed:

$phpwcms['root'] = "vhosts/4AL04/www.meinedomaint/htdocs/setup";

If so - everything is fine too, also if this is empty.
Maybe some leading/ending slash "/" is there.
That's no problem here, but remove leading or
ending slashes. Do never use the backslash "\"
in paths on Windows - this may fail.
So I put

Code: Select all

$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs/setup';
at the end of config.php

Then I delete the folder setup.

But I doesn't work, after login there is a blank page !!!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Code: Select all

$_SERVER['DOCUMENT_ROOT'] = 'daten:/usr/vhosts/4AL04/www.feuerwehr-wallern.at/htdocs';
Last edited by flip-flop on Sun 13. Aug 2006, 21:55, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
nukia2
Posts: 67
Joined: Sat 25. Dec 2004, 23:56
Contact:

Post by nukia2 »

ups, ok, but I doesn't work
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

wenn du magst, gib mir bitte eine ftp-Zugang per pn.

[SOLVED]
$phpwcms['DOC_ROOT'] = 'daten:/usr/vhosts/4AL04/www.mydomain.tld/htdocs';
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply