 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
August 3rd, 2005, 04:07 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
| Sh$tload of SQL errors on fresh install
I keep getting these MySQL errors on a fresh install of classifieds, the text is too long to post on the forum so I upped it in a txt... http://www.dierenparadijs.be/PP.txt
I want to be using an IPBv2 integration but have even tried to use no integration at all, internal user system...still the same errors.
phpMyAdmin reports 20 tables in the DB, but the numbers of records in zipData is different everytime....so I think something is fishy here...
Any help would be appreciated !
|
| |
August 3rd, 2005, 04:24 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Well the load of errors is because the tables exist now what issues you have if you finish the install
You need to finish all the way through and install and then we can see where we are here
|
| |
August 3rd, 2005, 04:28 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
It's not only tables, the installer also tries to write duplicate records, between every install attempt I deleted the tables with phpMyAdmin so I could start over with a totally empty DB.
So it is the installer that executes certain query's twice.... ?
|
| |
August 3rd, 2005, 04:39 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
There is nothing in the install that is duplicated
You need to run through a full install dont worry about those duplicate errors as your tables exist answer all questions correctly and lets see where we are.
|
| |
August 3rd, 2005, 04:49 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
Well the reason why I started experimenting is one that has been posted a few times in other topics, "For Sale" ads can be added no problem, but "Wanted" cannot, you press "Submit" and back to step 1 you go.
My first attempt I did what you advise here, just ignore the errors...they are just duplicates...no biggy. But then I encounter the strangeness above.
I tried it with IPBv2 integration and stand alone user-system...same problem.
To make things clear, I am using a fresh install, no ads, default category "A Catergory", etc...
Right after completing the installer I place a "For Sale" add in "A Category" without problems...no sweat. Then I go into the admin panel and change "Template type" for "A Category" to "Wanted", nothing else...go back to "User Index" and try to post a "Wanted" add in "A Category"....big no-no...
|
| |
August 3rd, 2005, 05:05 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
In your uploadproduct templates find this and make sure the line in bold is there if not then add it
<input type="hidden" name="userid" value="{$User['userid']}" /> <input type="hidden" name="process" value="do" /> |
| |
August 3rd, 2005, 05:11 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
All 4 uploadproduct<nr>.tmpl files have that line (all in the last paragraph), I did not alter these files from the download ZIP
|
| |
August 3rd, 2005, 05:26 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
I'm off to bed for the day, I'll check back on this in the morning.....
|
| |
August 3rd, 2005, 06:45 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
I do not show any issues other than what I posted above and notified the developer of to update the build
You need to set the active ads wanted as usuable and set a category to use it.
Please post a url to your site and a test login
I have no problem posting wanted ads or any other ad for that matter
|
| |
August 4th, 2005, 01:18 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
If the ad-type is not set to enabled in the admin-panel you are not able to select it from the drop-down in step 1 to begin with...so that clearly shows my "Wanted" ad-type is enabled.
If you set no category to use the ad-type as a "Template Type" then you are faced with an empty drop-down box in step 2 of the posting process. So only categorys with correct "Template Type" settings show up...wich is also correct in my case.
I am staring at the admin panel, Ad-Type ID 1 "Wanted" Enabled "yes", Category "A Category" Template Type "Wanted". All seems correct to me.
REMOVED FOR SECURITY BY OMEGATRON
This is a clean test install, play arround with it as much as you like...
Last edited by Chuck S; August 4th, 2005 at 10:25 AM.
|
| |
August 4th, 2005, 10:28 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
okay in your uploadproduct.php file what is line 77? Is it this
if ( $process != "do" ) {
printheader( $cat, $Globals['pp_lang']['uploadproduct'] );
|
| |
August 4th, 2005, 10:44 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
No, it is this....
if ( !isset($theimage) ) {
printheader( $cat, $Globals['pp_lang']['uploadproduct'] );
Again I did not alter the file from the download ZIP.
|
| |
August 4th, 2005, 10:48 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
I have just confirmed that the download ZIP contains an uploadproduct.php file with the lines I quoted on 77 and 78.....
|
| |
August 4th, 2005, 10:56 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
okay then line 77
if ( !isset($theimage) ) {
needs to be this'
if ( $process != "do" ) {
|
| |
August 4th, 2005, 11:11 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
Yep, that seems to have done the trick.
Thanks for the assistance, you might want to check the ZIP |
| | |
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 08:54 PM. | |