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 August 10th, 2005, 02:41 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2002
Posts: 5
Fresh install of 5.13 onto php-nuke

Thought I would write a little guide to how I had to bodge the install script to get this install to work. Background is that I've just reinstalled photopost onto my server since I had a major database error and managed to corrupt the backup too.

The first thing I noticed was that the install script inserts a number of erroneous entries pointing to www.domain.com into the configuration database. It doesn't matter what you do in the input boxes to the script, they still are there. I solved this by using phpmyadmin and looking through the whole settings table editing all the erroneous entries. There were also a number of incorrect paths in the table which required editing. (The majority lost the slashes in the name)

The second issue was that it would not import the usergroups into the table. I had to manually enter a number of groups - giving them all admincp permissions to get into the administration control panel. Then I imported all the usergroups from the php-BB hack in Nuke 7.6. This then enabled me to change the permissions back to what they should be giving only my account admin access.

There are a couple of script changes detailed elsewhere that need to be done to the nuke.php script prior to the install.
Register link

Quote:
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;
All in all this install was a pain. The final point to note is that I've installed the photopost database under the nuke one with pp_ as the prefix. You also need to specify the suggested cookie prefix for php-bb as the cookie in the install script.

Happy to explain any of the above. I will have to think very carefully about any future upgrades though!

Jim

Last edited by wjms; August 10th, 2005 at 02:44 AM. Reason: Typo
wjms is offline   Reply With Quote
Old August 10th, 2005, 07:49 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Sorry but this is just wrong as you must have a old old photopost copy or something. This is what I show in the nuke.php file and is indeed the correct thing.

Code:
Content visible to verified customers only.
That function is where we create our usergroups table and enter the 3 usergroups needed on a nuke install since we integrate with the phpbb login that is with nuke.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 10th, 2005, 04:44 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2002
Posts: 5
Omegatron,

I've been a happy user of photopost for a number of years. The database problems I had meant that I was forced to redo everything and start afresh.

I used the latest copy of photopost, 5.13 I think, and a 7.6 php-nuke.

All I can say is that the install script doesn't take the domain correctly into the database. Under pp_settings (I think) there are a number of references to www.domain.com whether you input the correct domain or not. There are also a number of paths that are screwed up - forward slash missing from places.

The biggest problem when trying to incorporate the php-bb/php-nuke user database was, for me, the lack of any data under the usergroups entry. I had to manually input three groups and give them all admincp access to get into the system. Then I could import the usergroups from the integration link. I still had to then change the admin-cp access on my account after I had done this.

All in all, I am not 100% happy with the amount of fiddling I've had to do, but upgrades through the last 2 years have worked seamlessly. I suggest that someone at Photopost should take a vanilla version of a php-nuke setup and try to install onto that. I reckon that there are issues with the install script.

Jim
wjms is offline   Reply With Quote
Old August 10th, 2005, 05:00 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Hello

I have taken a vanilla version of nuke quite a few times in the last year and the install worked fine for me. I regularly test out the integrations that I can especially the freebie forums and then of course I own a few paid forums. The init_user_groups function is correct as I posted and the domains are entered correct.

I literally do all the installs for the company and the domain being entered has nothing to do integration type. I have never encountered a situation as you describe.

I think part of your issue is maybe not all your files got updated when you uploaded files for a new install as your line for the function init_user_groups does not match what we have in the distribution for the nuke integration file

This is what I have in that file

function init_user_groups() {
global $link, $Globals;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; August 10th, 2005 at 05:04 PM.
Chuck S is offline   Reply With Quote
Old August 10th, 2005, 07:51 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
I just did a fresh clean install of Nuke and Photopost on my test server and there is not one issue that I encountered with an install of Nuke 7.6 and Photopost 5.13

http://omegatron.net/nuke/modules.ph...ums&file=index

http://omegatron.net/gallery/index.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 9th, 2005, 11:28 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2002
Posts: 5
Quote:
Originally Posted by omegatron
I just did a fresh clean install of Nuke and Photopost on my test server and there is not one issue that I encountered with an install of Nuke 7.6 and Photopost 5.13

http://omegatron.net/nuke/modules.ph...ums&file=index

http://omegatron.net/gallery/index.php
Sorry to take so long to respond.

I'm running PHP-Nuke 7.6 and the install of Photopost in question was of 5.13

Upgrades in the past have worked seamlessly, it was just this install that seemed to cause issues. I had to manually bodge a couple of the files and couldn't get the database table to be populated by the install script when I tried.

However, it is now working fine. I am not sure where exactly the problem was grounded, with my setup or with the Photopost installation script. Important thing is it is now working!

Glad to hear you had no probs with it though

Jim
wjms 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
Install Issue : PP 5.11 + PHP-Nuke Platinum 7.6.0 VSDan Photopost Pro Installation & Upgrades 1 June 23rd, 2005 12:55 PM
php-nuke platinum problems after 5.1 and 5.11 update T00L Photopost Pro Bug Reports 6 June 9th, 2005 11:59 AM
PHP Nuke and Photopost Integration Josh Schnapp Photopost Pro Installation & Upgrades 3 May 30th, 2005 07:03 PM
Warning with Nuke install Ilse Photopost Pro Installation & Upgrades 13 April 11th, 2005 12:59 PM
PHP-Nuke Integration w/ Existing Photopost DerekG Photopost Pro Installation & Upgrades 2 September 7th, 2004 07:11 PM


All times are GMT -5. The time now is 01:38 PM.

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