upgrade bugs

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

upgrade bugs

Post by cyppher.nl »

While upgrading from 1.2.8 to 1.3.3 the website I'm developing is completely ***ed...

Obviously, upgrading in setup is buggy.
"You Cannot Access This Script Directly, Have a Nice Day." is all I see after upgrading :shock:

I found several posts on this subject, however none of the mentioned solutions work. In the upgrade screens, there's this "You Cannot Access This Script Directly, Have a Nice Day." message in the SQL queries to be processed: box. When I manually select the sql-files all database upgraded are executed, however no message the upgrade is complete or whatsoever. This is not really user-friendly, is it?

So when I click the following links:
When upgrading from releases older than 1.2.9:
* 5) UPGRADE PAGELAYOUT
* When upgrading from releases older than 1.3.1:
6) UPGRADE CONTENT PART MULTIMEDIA

a pop-up window is opened, with again the shocking text "You Cannot Access This Script Directly, Have a Nice Day." (setup/upgrade_pagelayout.php)


What to do? I just wanted to upgrade because of the wysiwyg-editor 'file not found 404'-errors !?!?! :x

As I mentioned, I've searched the forums and none of the solutions work for me. Please help!
Thanks in advance
How do you do? And how do you do your wife?
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Post by cyppher.nl »

[posting deleted by Oliver Georgi] false direction...

Always fix your conf.inc.php before do any upgrade! Merge it with dist.conf.inc.php -> do NOT overwrite your settings!
How do you do? And how do you do your wife?
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Post by cyppher.nl »

Hi Oliver,

Actually I already merged my conf.inc.php with the dist.config before I started the installation.

As I mentioned before, none of your solutions mentioned work for me. I still think it`s a bug.

I posted the code in here, but you deleted it (why?).

So what solution do you suggest?
Thanks for thinking with me.
How do you do? And how do you do your wife?
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

guess you didn't merge well...

This is what you have missed in conf.inc.php:
define('PHPWCMS_INCLUDE_CHECK', true);

And your posted direction was wrong. That's the reason for deleting your post.

This is NO bug! I have upgraded multiple different and partially very outdated installations - so this is tested and working.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Post by cyppher.nl »

Oliver Georgi wrote:guess you didn't merge well...

This is what you have missed in conf.inc.php:
define('PHPWCMS_INCLUDE_CHECK', true);
Oliver
Thanks for your reply, however I didn't miss that rule while merging...
I triple checked the merged file and its content.

Obviously, there's something wrong with my phpwcms_root definition, which is a combination of docroot en root.
In my case the server docroot is "I:/webserver/appserv/www" and the phpwcms installation folder is "lizella". Each php-file checks wether the PHPWCMS_ROOT is defined, and if not the error message is displayed.

Looks to me like the server docroot might be corrupt, however if I actually set the docroot in the config file, but the errormessage still is displayed.

Any ideas?
How do you do? And how do you do your wife?
User avatar
Oliver Georgi
Site Admin
Posts: 9951
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

on Windows $_SERVER['DOCUMENT_ROOT'] is not set - so it's empty. You have to set path yourself!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Post by cyppher.nl »

Oliver Georgi wrote:on Windows $_SERVER['DOCUMENT_ROOT'] is not set - so it's empty. You have to set path yourself!

Oliver
Thanks again for your fast reply!
I filled in the path as I know Windows doesn't fill document_root (path is "I:\webserver\appserv\www"), but I still get the error message...
How do you do? And how do you do your wife?
User avatar
cyppher.nl
Posts: 138
Joined: Wed 19. May 2004, 18:38
Location: Hilversum, Netherlands

Post by cyppher.nl »

solved:

config-file was somehow not updated...
I still believe the upgrade functionality needs to be improved, it is not user friendly (where's the completed message?).

Anyhow, thanks for your help, I really appreciate all thoughts.
How do you do? And how do you do your wife?
Post Reply