 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
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.
|
| |
May 13th, 2005, 09:47 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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??
|
| |
May 13th, 2005, 10:08 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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??
|
| |
May 13th, 2005, 10:38 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
In phpmyadmin what entries are in your classifieds usergroups table?
|
| |
May 13th, 2005, 10:40 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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
Last edited by Chuck S; May 16th, 2005 at 05:27 AM.
|
| |
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 |
| |
May 13th, 2005, 11:05 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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??
|
| |
May 16th, 2005, 05:28 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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??
|
| |
May 16th, 2005, 05:48 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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!
|
| |
May 16th, 2005, 06:07 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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?
|
| |
May 18th, 2005, 02:46 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Oct 2004
Posts: 252
|
any ideas on this one yet?? thanks |
| |
May 18th, 2005, 08:15 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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??
|
| |
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:45 PM. | |