View Full Version : Problems when logging in just after instalation
March 21st, 2006, 03:25 PM
Instalation seems.. oki..
But when I will try to logg in, I recive this error:
Warning: chdir(): No such file or directory (errno 2) in /home/1/d/datola/forum/photopost/header-inc.php on line 60
Warning: main(./global.php): failed to open stream: No such file or directory in /home/1/d/datola/forum/photopost/header-inc.php on line 61
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/1/d/datola/forum/photopost/header-inc.php on line 61
Also I bought this program yesterday, but cannot see to have got the "Valid Custumer" tag.. why?
EDIT... I now read that this is baed on my email..
It seem I was registered here with my domain email and
the license was with my hotmail.. so I changed forum mail to my hotmail as well ..but still no changes in this?
Is anyone reading this at all?
March 21st, 2006, 04:50 PM
- $PP_PATH = "/www/var/photopost";
Match up your forum e-mail to the one you used for the product.
Accounts in the forums update every hour.
- Not on the hour, but once an hour :)
March 21st, 2006, 04:56 PM
Oki.. Thank you very much.. :)
It seems problem was fixed :)
March 21st, 2006, 05:54 PM
Sorry.-- got new problem...
I did fix my first problem by correcting the path to my vBulletin..
by the way ..I am using vBulletin 3.5.4
First I got a problem when trying to log into the admin of the
photopost.. When I try to logg in, I actualy get logged out..
So I seached forum..and it seemed it was a cookie problem...
So..I ran the install script again (I noticed alot of errors under my second instalation that told me alots of this... here are just example...
Step 3: MySQL error reported: [CREATE TABLE pp_cache (id tinyint(1) NOT NULL default '1', timestamp int(15) NOT NULL default '0', statscache mediumtext, recentcache mediumtext, popularcache mediumtext, randomcache mediumtext, calcache mediumtext, catcache mediumtext, catprops mediumtext, PRIMARY KEY (id), KEY id (id)) TYPE=MyISAM]
Result: Table 'pp_cache' already exists
Step 3: MySQL error reported: [INSERT INTO pp_cache VALUES (1,0,null,null,null,null,null,null,null)]
Result: Duplicate entry '1' for key 1
But I know what this is..
Because some scripts tell if allredy exist..then emty table..apearently this instalation ...dosn`t..
so I changed cookie from "(blank)" to "bb"
and then I got this error in EVERY page..
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/forums/vb3.php on line 367
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/pp-inc.php on line 2960
and it say that I am not an administrator.. hmm.. very strange..
My vBulletin forum are here:
and my PhotoPost are here:
March 21st, 2006, 07:08 PM
Duplicate mysql errors are no worries as they would exist if you have priorly attempted install.
It appears to me that the usergroups table does not exist. Try reinstalling and make sure everything is answered correctly. The install file calls this which creates the usergroups table and imports the vb groups if you answer all questions correctly especially the vb mysql table prefix entry to import the groups.
March 21st, 2006, 07:34 PM
So.. I tried to write vBulletin prefix from "" to "_"
and then I got another error...
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /photopost/forums/vb3.php on line 25
hmm.. so many errors.. :confused:
March 21st, 2006, 07:43 PM
You would need to use the proper information here. You can find out all your vbulletin information in the config.php file of vbulletin in the includes directory
March 21st, 2006, 08:11 PM
March 21st, 2006, 08:16 PM
I would suggest you drop the photopost tables and start over. Double check yourself and go through the install answering everything correctly
From the errors your displaying above you have entered either the wrong database in the config for vbulletin or the wrong table prefix so we can not connect to vb and grab the user info. Make sure your selecting vb3 integration from the drop down on install
March 21st, 2006, 08:22 PM
Your usergroups table will not create try using phpmyadmin and create it yourself
CREATE TABLE pp_usergroups (groupid int(5) NOT NULL auto_increment, groupname varchar(50) NOT NULL default '', cpaccess smallint(3) NOT NULL default '0', modaccess smallint(3) NOT NULL default '0', uploads smallint(3) NOT NULL default '1', comments smallint(3) NOT NULL default '1', diskspace int(10) default NULL, uploadsize int(10) default NULL, uplimit INT(5) DEFAULT '0' NOT NULL, editpho int(3) NOT NULL default '0', editposts int(3) NOT NULL default '0', useralbums int(3) NOT NULL default '0',reqmod INT(3) DEFAULT '0' NOT NULL, canassign INT(3) DEFAULT '0' NOT NULL, PRIMARY KEY (groupid)) TYPE=MyISAM
March 21st, 2006, 08:29 PM
But I only have 1 database...
and it has name "datola"
The prefix for photopost is "pp_"
The prefix for vBulletin is "" (nothing) I read the config file..
I tried to install the program phpMyAdmin (yesterday) on my page to get access to the
database to drop the tables..but..I failed even to install this.. hmm..
I know if I reinstall vBulletin I have option to "emty database completly" but I think this would be extreme?
Maybe it would be more easy for me to PAY for instalation or something..
and if I do... how long time from I order until it is done?
I am completly newbe in this.. now nothing in php or my sql--
March 21st, 2006, 08:32 PM
March 21st, 2006, 08:40 PM
Okay have you tried installing different versions of the program?
There should be no reason the usergroups query should fail if the table exists unless the table is not the one it is looking for.
March 21st, 2006, 08:48 PM
I found code DROP TABLE `name of table`;
so I did manualy drop every table (using vBulletin "Execute sql") that was not vBulletin related..and
re-installed.. now everytthing is working oki..
March 22nd, 2006, 08:47 AM
Yes that would have been my suggestion. I am still interested what was the issue with that table as no one has even had this issue.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.