Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 02:17:41 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155539 Posts in 21712 Topics by 7737 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: 2.6.0 Install Issues, multiple php errors on Fedora Core 3  (Read 3280 times)
kunk

Offline Offline

Posts: 4


« on: December 02, 2005, 09:13:05 AM »

I'm trying to install wb 2.6.0 but after I click "Install websitebaker" on the inital install screen I get the following errors:

Code:
Notice: Constant VERSION already defined in /home/jeremyp/WWW/akacrasher.com/devel/admin/interface/version.php on line 38

Notice: Undefined variable: module_dir in /home/jeremyp/WWW/akacrasher.com/devel/modules/htmlarea/install.php on line 29

Notice: Undefined index: REDIRECT_URL in /home/jeremyp/WWW/akacrasher.com/devel/framework/class.login.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /home/jeremyp/WWW/akacrasher.com/devel/admin/interface/version.php:38) in /home/jeremyp/WWW/akacrasher.com/devel/framework/class.login.php on line 96

I've chmodded the files correctly and made sure php safe mode wasnt enabled. I'm using the stock Apache/Mysql/Php that comes with Fedora Core 3 (Apache/2.0.53, MySQL/3.23.58, PHP/4.3.11).
I've tried enabling register_globals, magic_quotes_gpc, and magic_quotes_runtim e in php.ini but I still get the above errors. Any ideas???

KunK
http://www.akacrasher.com
« Last Edit: December 02, 2005, 09:54:29 PM by kunk » Logged
kunk

Offline Offline

Posts: 4


« Reply #1 on: December 02, 2005, 09:30:21 PM »

I really dont understand why I'm having so much problems installing this. Also if I try to access the main page of the site, I get this error:

Notice: Undefined property: sql_where_language in /home/jeremyp/WWW/akacrasher.com/devel/framework/class.frontend.php on line 84

above the Website Under Construction text.
Logged
kunk

Offline Offline

Posts: 4


« Reply #2 on: December 02, 2005, 10:00:17 PM »

Also another note, I installed wb 2.5.2 and it appears to be working just fine (after disabling register_globals, magic_quotes_gpc, and magic_quotes_runtim e in php.ini, got some wierd output with these enabled).
Not sure if I'm just running into some bugs when installing a new install of 2.6.0 or what but like I said, 2.5.2 runs fine where 2.6.0 gives all sorts of errors durning the install.
Logged
Stefan
Guest
« Reply #3 on: December 02, 2005, 11:08:37 PM »

What you're reporting is very interesting.
There have been a lot of changes between 2.5.2 and 2.6.0 so it is in fact possible that problems occur in 2.6.0 that haven't been there before. Most of them probably aren't really bugs but issues related to very special setups. Your specs don't seem to be very uncommon - WB should work just fine.
But the notice
Code:
Notice: Constant VERSION already defined in /home/jeremyp/WWW/akacrasher.com/devel/admin/interface/version.php on line 38
is actually very strange (come to think of it - the rest is just as strange...) - WB doesn't define this constant anywhere else. You can try deleting line 38 from interface/version.php and see what happens.
I'm a bit puzzled on this one...
Logged
irfan
Guest
« Reply #4 on: December 21, 2005, 08:07:23 PM »

kunk were you able to figure out the solution for this. I am getting the exact same errors. Any help would be appreciated.

thanks
Logged
niteshade

Offline Offline

Posts: 1


« Reply #5 on: December 24, 2005, 02:23:55 PM »

I'm getting errors too, but not on Linux:

Notice: Undefined property: frontend::$sql_where_language in /Users/niteshade/Sites/wb/framework/class.frontend.php on line 84

Notice: Undefined property: frontend::$sql_where_language in /Users/niteshade/Sites/wb/framework/class.frontend.php on line 229

Fresh install, WB 2.6, on Mac OSX 10.4 with MySQL 4.1.3beta and PHP 5.0.1, permissions wide open.  God, perhaps I shouldn't use such bleeding edge software.  Not to threadjack, but what's the most common config balance btw. MySQL and PHP?  MySQL 3 and PHP 4?
Logged
baZzz

Offline Offline

Posts: 58



« Reply #6 on: January 13, 2006, 09:19:19 PM »

Add this to you index.php and config[dot]php:
Code:
error_reporting(E_ALL ^ E_NOTICE);
The level of error reporting is probably set to high.

Perhaps Ryan should develop with the option:
Code:
error_reporting(E_ALL);
than he would come across these kind of errors as well. smiley (Just for the record, not that I do, I just add the first line of code to all my projects. wink )

Sorry I had to replace the real dot between config and php with [dot] For some reason I cannot modify my post when I place an extra dot in it Really weird[dot][dot][dot]
« Last Edit: January 13, 2006, 09:41:51 PM by baZzz » Logged

-= assumption is the mother of all f*ck ups / to assume makes an ass out of u and me =-
i2Paq

Offline Offline

Posts: 511


« Reply #7 on: January 14, 2006, 12:48:49 AM »


Sorry I had to replace the real dot between config and php with [dot] For some reason I cannot modify my post when I place an extra dot in it Really weird[dot][dot][dot]

That is some security issue more people have with this forum (do a search on this forum and you'll see)
Logged

Opensource is my life, but then elsewhere.
Stefan
Guest
« Reply #8 on: January 14, 2006, 01:12:20 PM »

Thanks for reporting these.
I'll add it to the bug tracker.
Logged
kunk

Offline Offline

Posts: 4


« Reply #9 on: February 05, 2006, 10:20:17 PM »

Sorry for not replying sooner, I just noticed that people had posted to this thread. No, I never found the fix for my particular problem. Obviously, the Warning errors are easily turned off in your php.ini config, but my main problem was something was still breaking it hence the generic error "Warning: Cannot modify header information - headers already sent by blah blah". Anyways, my "fix" was to upgrade my server to Fedora Core 4. WB works like a charm now.
http://www.akacrasher.com

KunK
Logged
wicked

Offline Offline

Posts: 1


« Reply #10 on: October 30, 2006, 01:32:00 PM »

hi,

I just ran into the same problem, seems that version.php is called multiple times and so the Constant VERSION is defined more than once.

Added the check below so the next execution is ignored.

in version.php change:
Code:
        define('VERSION', '2.6.4');

into

Code:
if (!defined('VERSION')) {
        define('VERSION', '2.6.4');
}
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!