Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
I can't get them to play together, after a clean install of threads (which works fine) I try to install photopost. Updating config is fine, then the second part (External registation) I enter all the values, click submit and I get...


MySQL error reported!

Script: install

Query: SELECT groupid, groupname, cpaccess, uploads, comments, diskspace, uploadsize, editpho, editposts, modaccess, useralbums, reqmod, canassign FROM pp_usergroups

Result: Table 'domainname.pp_usergroups' doesn't exist

Database handle: Resource id #5

Any ideas? The PP board suggested a separate db for photopost. But I've run them together in the past. could this be a Threads issue (new release etc..)? BTW I substituted domainname for the actual domainname above.



- Custom Web Development
http://www.JCSWebDev.com
Sponsored Links
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Okay got it to work. I manually added this via phpmyadmin

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, 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;
INSERT INTO pp_usergroups VALUES (5,'Administrator',1,1,1,1,'','',1,1,1,0,0);
INSERT INTO pp_usergroups VALUES (1,'Banned','','','','','','',0,0,0,0,0);
INSERT INTO pp_usergroups VALUES (3,'Unregistered','','','','','','',0,0,0,0,0);
INSERT INTO pp_usergroups VALUES (4,'Registered','','',1,1,'','',1,1,1,0,0);
INSERT INTO pp_usergroups VALUES (2,'COPPA','','','','','','',0,0,0,0,0);

Now it says I'm not an admin when I try to enter the admin section of pp. But the main page of pp shows me as an administrator. ???



- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
am I the only one who had no problems doing this

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Must be... Only problem now is it is not reading me as an admin in pp.


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay well this is what I did but I don't use head tags so it's not an issue for me..
Attachments
116274-photopost4.8.txt (0 Bytes, 60 downloads)

Last edited by scroungr; 07/03/2004 6:41 PM.
Sponsored Links
Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Works great, except I cannot login to pp and upload images etc...

http://www.ubbdesign.com/portfolio/index.php


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
let me take a look at my instructions

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Dunno if it makes a difference, but I'm using external registration, when pp was installed.


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
okay I updated the file attachment above try that one. I just double checked it..

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I use threads users database it doesn't even hit the photoposrt one

Sponsored Links
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
some may ask why make those two files hack.inc.php and configextras.php but I feel it makes the most sense seeing as I always upgrade and this allows more freedom. You can easily skip those and set them in the config.inc.php and to the main.inc.php but I like it this way

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
also there are some steps I am sure you can leave out like the insertion I do into the who's online table but I rather be safe than sorry.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
tried and running... Omegatron also answered on the PP board, about the login. so working wth both your help. Dang this used to be 123... I must be tired..


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
cool.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Done... *phew* what a pain...


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
I didn't think so

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
Not no your mod, just the install etc. A client of mine wanted threads, photopost, and photoclassifieds. With all the tweaks etc, and the usergroup not being created.. prolly me


- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
ouch yeah kinda hard sometimes like that.

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
FYI, your mod (as far as header etc) works for ppclassifieds also, seeing as it uses similar architechture..

The problem will be who's online. Seeing as file names are similar, there might be some confusion...



- Custom Web Development
http://www.JCSWebDev.com
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
yeah we really need to start renaming things away from index.php and login.php and into things like photopostindex.php and reviewpostlogin.php

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
You can identify them by using not only the scriptname, but also the directory.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)