Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Installed OK, error on login Call to a member function on a non-object
Went through install.php no problem (very nicely done, btw). Once I took up the installer's invite to sign in, I received the following error:
Fatal error: Call to a member function on a non-object in /hsphere/local/home/pixif/forum.pixiful.com/index.php on line 24
Feeling clever, I commented out line 24, and received error identical exc. now on line 27. Poked around a bit more, signed up for forum, read all pertinent posts in this section, and then promptly cried for help (this posting).
A little info.
Host:
FreeBSD bsd18.infinology.net 4.9-RELEASE FreeBSD 4.9-RELEASE #2: Wed Aug i386
Version Info:
Apache/1.3.33 (Unix)
PHP/4.3.10
phpinfo:
http://pixiful.com/phpinfo.php
Yon forum attempted:
http://forum.pixiful.com/
And the possibly pertinent section of my settings.php sans password.
...
// Database Settings
define("dbHOST", "mysql3.infinology.net");
define("dbNAME", "pixif_vanilla");
define("dbUSER", "pixif_vanilla");
define("dbPASSWORD", "xxx");
// Path Settings
define("agAPPLICATION_PATH", "/hsphere/local/home/pixif/forum.pixiful.com/");
define("sgLIBRARY", agAPPLICATION_PATH."library/");
define("agEXTENSIONS", agAPPLICATION_PATH."extensions/");
define("agLANGUAGES", agAPPLICATION_PATH."languages/");
...
Thanks, I haven't messed with website authoring since '99, but look what's happened since I've been away.
CSS, MySQL, XML, standards, and people like you.
Really very nice.
Thanks.
Emerson tells us, "There is a crack in everything God has made..."
Now, just whom has handed me this trowel?
Andrus Cummings
Lanikai Studios, Maui
andrus@pixiful.com
808-572-0669
also:
Steve Cummings
Akaku: Maui Community Television
steve@akaku.org
808-871-5554
0
This discussion has been closed.
Comments
$Context->Session->Check(agSAFE_REDIRECT);
So, that error means that either the context object or the session object doesn't exist even though it should.
To figure out what's wrong, you need to find out why those objects aren't being instantiated. The context object is easy. It is instantiated on line 40 of appg/init_external.php:
$Context = new Context();
Why don't you try echoing something right before that line to make sure that the line is being parsed by php. Move line 40 down to line 41, and echo something on line 40.... something like this:
echo("Hello?"); $Context = new Context();
Then take a look at your index file again and see if it says "Hello?" before throwing the error.
If it doesn't say that, then you know the problem is with your include paths, because the init_external.php file isn't being included properly.