PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 9th, 2005, 12:42 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
Warning with Nuke install + no admin access

Hi,

I have tried to find a solution to this problem in the forum, but I can't seem to find it.

I have done a fresh install of Photopost 5.03. I have PHP Nuke 7.6 patch 2.9 (that's not the platinum version as far as I know it) running on my site.

I have ran the entire install without any problems (besides the message "error:" without an error message. See other post) and now I'm at adm-index.php and I get the following error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/scrappi/public_html/gallery/forums/nuke.php on line 330

I haven't got a clue as to what seems to be the problem. Anyone who knows what I should do?

Other info:
Server operatingversion: Linux
PHP Version: 4.3.9
MySQL: 4.0.22-Standard
Shared Hosting on My own account

What do I have to do with this?

Regards,
Ilse

Last edited by Ilse; April 10th, 2005 at 12:14 PM.
Ilse is offline   Reply With Quote
Old April 9th, 2005, 05:18 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Looks to me like your usergroups did not insert. If you have phpmyadmin tell me whats in your photopost usergroups table
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 10th, 2005, 04:30 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
This is the only table that doesn't have pp as a prefix. All the rest does have this prefix. Is this the cause of the problem?

I have included a picture of the table.

EDIT APRIL 10:
I have renamed the table usergroups to pp_usergroups and that seemed to fix the problem. Only thing left: How do I become an administrator?

I can't login with the Admin as I have set it up in PHP Nuke and my personal account has no administration rights. So..... how to solve this problem?

Regards,
Ilse
Attached Images
File Type: png usergrouptablephotopost.png (21.5 KB, 15 views)

Last edited by Ilse; April 10th, 2005 at 05:37 AM.
Ilse is offline   Reply With Quote
Old April 10th, 2005, 11:06 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Yes that would be the issue.

If in usergroups table usergroup entry 2 which is admin access has cpaccess set to 1 you should have admin access. I would make sure to see your logged in.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 10th, 2005, 11:09 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
I do see the issue here

In nuke.php this line

function init_user_groups() {
global $link, $pp_db_prefix;

should be this

function init_user_groups() {
global $Globals, $db_link, $link;

You can try a reinstall after making this change and see the issue or making sure there is a usergroup entry of 2 as noted above with cpaccess set to 1 should do it as well
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 10th, 2005, 11:51 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
Quote:
Originally Posted by omegatron
Yes that would be the issue.

If in usergroups table usergroup entry 2 which is admin access has cpaccess set to 1 you should have admin access. I would make sure to see your logged in.
This doesn't help. I am logged in as the admin of the site in PHP Nuke, but I can't get into the gallery admin. I'll try to reinstall.

Regards,
Ilse
Ilse is offline   Reply With Quote
Old April 10th, 2005, 11:58 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
Quote:
Originally Posted by omegatron
I do see the issue here

In nuke.php this line

function init_user_groups() {
global $link, $pp_db_prefix;

should be this

function init_user_groups() {
global $Globals, $db_link, $link;

You can try a reinstall after making this change and see the issue or making sure there is a usergroup entry of 2 as noted above with cpaccess set to 1 should do it as well
Done this, but it ain't working either...... ????? I keep getting the error:
Invalid Login. Check username and password or register.

I have cleared my cache and deleted all my cookies, but this didn't help either. Do you happen to have another solution?

Regards,
Ilse

Last edited by Ilse; April 10th, 2005 at 12:03 PM. Reason: Extra information
Ilse is offline   Reply With Quote
Old April 10th, 2005, 12:04 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 7
Just to let you all know that I'm another one who needs to integrate her new PP with a PHP-Nuke site, and I'm having the same database errors that Ilse's experiencing.

I can get an integrated install to succeed ONLY if I permit PP to place tables in the nuke database. I get the same database installation error (usergroups not being named pp_usergroups). Even when I correct the table name manually, I still can't log in as admin.

As I'm hoping to use both PP and ReviewPost on three or four large production sites (Ilse, I run organizedscrapbooks.com, among others!), I'm pretty discouraged at the difficulty of achieving what you folks swore to me was possible: an integrated Nuke install.

I'll try all the fixes noted here, but any help you can give the both of us would be very welcome. So far, the only way I've managed to make this software work is to bypass Nuke entirely and use the PP authentication, which doesn't meet my needs. Thank goodness I'm just kicking the tires on a trial site: http://townleyfamily.com/photo
organizedhome is offline   Reply With Quote
Old April 10th, 2005, 12:10 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
Quote:
Originally Posted by organizedhome
Just to let you all know that I'm another one who needs to integrate her new PP with a PHP-Nuke site, and I'm having the same database errors that Ilse's experiencing.

I can get an integrated install to succeed ONLY if I permit PP to place tables in the nuke database. I get the same database installation error (usergroups not being named pp_usergroups). Even when I correct the table name manually, I still can't log in as admin.

As I'm hoping to use both PP and ReviewPost on three or four large production sites (Ilse, I run organizedscrapbooks.com, among others!), I'm pretty discouraged at the difficulty of achieving what you folks swore to me was possible: an integrated Nuke install.

I'll try all the fixes noted here, but any help you can give the both of us would be very welcome. So far, the only way I've managed to make this software work is to bypass Nuke entirely and use the PP authentication, which doesn't meet my needs. Thank goodness I'm just kicking the tires on a trial site: http://townleyfamily.com/photo
Same here. I really need to have only one registration option. Luckily I have a running gallery, but it doesn't meet my needs. The previous version of Photopost (PP486) I had installed (before I had to entirely reinstall my site) was giving no problems at all, so I don't see why I have these problems now with the improved version of PP. I do know I have another version of PHP Nuke running (7.6 patched 2.9 instead of 7.2). Maybe there's a clue?

By the way. I really like Organized scrapbooks.com!! I still need to setup links on my site, but as soon as I'm starting there, I'll be sure to include your site

Any help would be truly appreciated!

Regards,
Ilse
Ilse is offline   Reply With Quote
Old April 10th, 2005, 04:04 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 7
Okay, an update.

I have done a re-install using the above edit. The software installed correctly, the database tables are properly in place, and I can log in as a user--but still no admin access.

The pp_usergroups shows a cpaccess of 1 for admin users, I specified the correct cookie, and there are no error messages. I am logged in as the Nuke admin but have no admin access for PP. Error message is "You are not a valid administrator or moderator! "

Any ideas, guys? I'm running PHP-Nuke version 7.5, with security patches in place from Chatserv. Love the software, but I can't use it on production sites without Nuke integration.
organizedhome is offline   Reply With Quote
Old April 10th, 2005, 05:36 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Is your cookie settings in place? Note in Nuke we integrate with the nuke login and the usergroups come from the forum usergroups so if your an admin of the forum your an admin of photopost

You can PM me site urls and admin access as well as link to phpmyadmin and I can ponder what your specific issue is. If usergroups are set right I would think your cookies are not set right and your not truly logged in but we shall see
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 11th, 2005, 01:38 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
Quote:
Originally Posted by omegatron
Is your cookie settings in place? Note in Nuke we integrate with the nuke login and the usergroups come from the forum usergroups so if your an admin of the forum your an admin of photopost

You can PM me site urls and admin access as well as link to phpmyadmin and I can ponder what your specific issue is. If usergroups are set right I would think your cookies are not set right and your not truly logged in but we shall see
Okay, I think I may have a point:
Here's the thing with Nuke. The Admin/moderator of the Forums is NOT the admin/moderator of the site: in Nuke I'm the administrator with username Admin. I can access the forums administration via the administration panel in Nuke, but I can't moderate the forums. I need to be logged in as Ilse (my personal account on the site), to be able to do that. Maybe that's why I can't login in Photopost as an admin and I don't have the admin rights as a normal user?

Also, I have changed the path of the forum to the real path of the forums (instead of the mainpart of the site, seen that Nuke is more then just a forum) but it doesn't help one bit. I keep getting the same error. I just really don't know what to do anymore.......

I've PM-ed all my details to you Omegatron.

Thanks for all the help!

Regards,
Ilse
Ilse is offline   Reply With Quote
Old April 11th, 2005, 01:52 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Correct this is your issue. Ilse exists in the mysql table

When you installed nuke you did not select for the Admin user to be an admin of the forum hense there is not even a mysql entry in your nuke user table for use to authenticate. Admin simply does not exist. If you login with Ilse I am sure you will see a admin link.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old April 11th, 2005, 01:59 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Netherlands
Posts: 32
At first I didn't, but I figured out I had to login at the Nukepart as Ilse (and not also as the admin....) and then I can go to the gallery and access the admin. The fact I can be logged in as both admin and Ilse on the Nuke part, seemed to be the problem.

Thanks for all the help! Now I can finally start to adjust everything to my needs.

Regards,
Ilse

Last edited by Ilse; April 11th, 2005 at 02:04 PM.
Ilse is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh install of 5.13 onto php-nuke wjms Photopost Pro Installation & Upgrades 5 September 9th, 2005 12:28 PM
Install Issue : PP 5.11 + PHP-Nuke Platinum 7.6.0 VSDan Photopost Pro Installation & Upgrades 1 June 23rd, 2005 01:55 PM
PHP Nuke and Photopost Integration Josh Schnapp Photopost Pro Installation & Upgrades 3 May 30th, 2005 08:03 PM
Review Post and Nuke stuartn Before You Buy 2 October 8th, 2004 08:26 PM
PHP-Nuke Integration w/ Existing Photopost DerekG Photopost Pro Installation & Upgrades 2 September 7th, 2004 08:11 PM


All times are GMT -5. The time now is 12:55 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0