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 Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 13th, 2005, 09:30 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
installation problem

hi just bought a new classified installation but when trying to install with phpbb as option it

shows up

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/fhlinux199/s/user/htdocs/forums/sellerspost.php on line 237

and i cant login

Last edited by sanddancer; May 18th, 2005 at 11:04 AM.
sanddancer is offline   Reply With Quote
Old May 13th, 2005, 09:47 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
You have installed as a standalone not phpbb2 integration.

I would run install and install integrated with phpbb2
__________________
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 May 13th, 2005, 09:50 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
umm there didnt seem to be an option for it, it only took me upto step 3 then returned a blank white page??
sanddancer is offline   Reply With Quote
Old May 13th, 2005, 10:08 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In install.php remove this and try reinstalling

// Upload the zipcode data (if present)
$query = @file("zipData.sql");

for ( $x=0; $x < count($query); $x++) {
$iquery = $query[$x];
$iquery = str_replace( ";", "", $iquery );
$setup = mysql_query($iquery, $link);
if ( !$setup ) print "<b>Error: ".mysql_error()."</b><br />";
}

you can then finish install and use upgrade.php to import the zipcodes. Your server memory is being used up and you cant do the zipcodes on install
__________________
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 May 13th, 2005, 10:28 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
hi that seems to have installed when it asked me to log in i entered my username and password but it says You are not a valid administrator or moderator! but it works okay on my other installations??
sanddancer is offline   Reply With Quote
Old May 13th, 2005, 10:38 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
In phpmyadmin what entries are in your classifieds 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 offline   Reply With Quote
Old May 13th, 2005, 10:40 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Okay in phpbb2.php file find this

Code:
Content visible to verified customers only.
replace with this

Code:
Content visible to verified customers only.
You can reinstall after making this change and should be fine
__________________
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; May 16th, 2005 at 05:27 AM.
Chuck S is offline   Reply With Quote
Old May 13th, 2005, 11:00 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
that seems to have fixed it omegatron, thanks very much for a excellent response time
sanddancer is offline   Reply With Quote
Old May 13th, 2005, 11:05 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
No problem you helped point out an issue I had to fix so always a pleasure to be of service
__________________
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 May 16th, 2005, 02:51 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
1 other small little niggle with it, if you goto refresh user groups the follow that right through to refresh the groups

it shows Error: Column count doesn't match value count at row 1

and it does not obtain any of the group information from my phpbb database??
sanddancer is offline   Reply With Quote
Old May 16th, 2005, 05:28 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Yes the two anonymous group inserts need an extra 0 in the column has been updated above.
__________________
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 May 16th, 2005, 05:37 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
i already have your updated code in place? do you mean its changed since you first posted it??
sanddancer is offline   Reply With Quote
Old May 16th, 2005, 05:48 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
well yes I just stated I added an extra ,0 in the anonymous inserts go give that a try
__________________
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 May 16th, 2005, 05:55 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
just tried that again, and it only shows anonymous, regular, and admin groups on our other installation it shows the extra groups Moderators and Admin Team

doing a refresh does not change the listings, also ive noticed the styles are totally different although set up the same?

Thanks!
sanddancer is offline   Reply With Quote
Old May 16th, 2005, 06:07 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Styles unless you have copied the altered styles to disk will be different. Thats because most people do not realize that when they alter a style in phpbb it changes in the database but does not updated the css file on disk. We load the css file on disk

As far as your groups then you must have no groups that match the importable criteria

$query = "SELECT group_id,group_name FROM $grouptable WHERE group_type=2 OR group_single_user=0";

Try that query in phpmyadmin on your phpbb_groups table
__________________
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 May 16th, 2005, 06:11 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
running that returns Admin Team which isnt shown when a refresh groups in the classifieds program, phpmyadmin returns it fine?
sanddancer is offline   Reply With Quote
Old May 18th, 2005, 02:46 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
any ideas on this one yet?? thanks
sanddancer is offline   Reply With Quote
Old May 18th, 2005, 08:15 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Try making your import usergroup function this in phpbb2.php

Code:
Content visible to verified customers only.
__________________
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 May 18th, 2005, 08:45 AM   #19 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
this displays

Warning: array_key_exists(): The second argument should be either an array or an object in /home/fhlinux199/s/user/htdocs/forums/phpbb2.php on line 432
Error: Table 'forum.usergroups' doesn't exist
Error: Table 'forum.usergroups' doesn't exist
Error: Table 'forum.usergroups' doesn't exist

but it does exist??
sanddancer is offline   Reply With Quote
Old May 18th, 2005, 09:18 AM   #20 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 252
it doesnt seem to want to allow access to admins now, looks like it might be using the cookie prefix instead of database one, in dprefix it shows sdancer_ which it should use but it isnt
sanddancer 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Installation Problem Phrost2 Photopost Pro Installation & Upgrades 6 June 23rd, 2006 08:35 PM
Installation Problem taffy056 Photopost Pro Installation & Upgrades 3 August 4th, 2005 04:59 PM
problem with new installation W@NKER Photopost Pro Installation & Upgrades 16 January 15th, 2005 12:04 PM
Installation problem asample Photopost Pro Installation & Upgrades 10 August 11th, 2004 03:29 AM


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

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