 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
February 13th, 2011, 07:54 AM
|
#1 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
| strange error
this just started happening on our site a few days ago.
any ideas why? - the product has been running fine for a few years.
I am trying to place a new ad in photopost classifieds.
-----------------------------------------------------
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script: uploadproduct
Query: INSERT INTO products (id,user,userid,cat,date,title,description,keywords,bigimage,bigimage2,bigimage3,approved,watermarked,ipaddress) values(NULL,'administrator', 1, 3, , 'test', 'this is a test', '', '', '', '', 0, '', '24.154.88.237')
Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'test', 'this is a test', '', '', '', '', 0, '', '24.154.88.237')' at line 2
Database handle: Resource id #29
Powered by: PhotoPost Classifieds 2.42 vB3 Enhanced
Copyright 2005 All Enthusiast, Inc.
Last edited by jjj0923; February 13th, 2011 at 08:17 AM.
|
| |
February 13th, 2011, 07:54 AM
|
#2 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
ps: it's not a lack of disk space....
|
| |
February 13th, 2011, 09:31 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
I will move this post to the proper support forum however to have a support technician respond to your issue you will need proper support access. One owned license grants you the right to run one software installation on one domain for an unlimited time, and purchasing an owned license gives you access to our members download area and support for one year. Your support and download access has expired which means you need to renew members access to receive product support.
|
| |
February 13th, 2011, 10:37 AM
|
#4 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
not true - we recently purchased an upgrade license... I just have to find the paperwork.
|
| |
February 13th, 2011, 10:52 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
If thats the case then please read the announcement at the top of the support forums on how to become verified. We have lots of customers and your forum account is linked to an email that is not associated with a license that has current members access. This is how support knows you are able to receive product support by that tag.
Secondly if your using such an old version you would most likely want to upgrade.
|
| |
February 18th, 2011, 10:22 AM
|
#6 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
my license should be linked to this login now since I updated my email address. can you help me out now?
license 30862 - thanks
|
| |
February 18th, 2011, 10:38 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Have you updated your code to see if it resolves your issue?
|
| |
February 18th, 2011, 10:42 AM
|
#8 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
"as in upgrading to the latest version" ??? Is that what you mean?
I'm a little risk adverse in terms of upgrading code at this time, but will if your insist. I just don't understand why the problem would suddenly appear without any changes to the code and against a database that has proven flawless for years...
ps: my preference is typically to solve a problem by understanding and fixing it as opposed to throwing a new version at it in the hopes it will go away. I think it's database related because clicking on any of the ads after you see the classifieds landing page yields the following error:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script: showproduct
Query: REPLACE INTO laston VALUES(6,1,)
Result: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
Database handle: Resource id #30
=========================
and I'm afraid upgrading will just yield the same results.
Last edited by jjj0923; February 18th, 2011 at 10:58 AM.
|
| |
February 18th, 2011, 11:13 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
I would suggest you try upgrading sure
your using an extremely old version
Basically your issue is your time is EMPTY
I would think using the latest software not old software which might not be compatible with newer versions of php or other changes that have happened on your site would help you.
|
| |
February 18th, 2011, 11:30 AM
|
#10 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
upgrade stopped dead in it's track at the move data...
Last edited by Chuck S; February 18th, 2011 at 11:44 AM.
|
| |
February 18th, 2011, 11:31 AM
|
#11 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
now what?
there was no browser activity at all in terms of the browser waiting or doing something.
this time I'll tail the php error log file to see what's going on there....after I untar the backup and restore the database then copy all of the new code back into the directory .... this is why I f'in hate upgrades....another 20 minutes of work to get back to the spot where I left off...
just to watch it fail again... arrggh!
Last edited by jjj0923; February 18th, 2011 at 11:37 AM.
|
| |
February 18th, 2011, 11:50 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
You can not run old code on newer php versions which is why you need to upgrade.
I have removed our code from your post so please refrain from publicly posting code opening on the site thanks.
Now please explain what you mean by it stops dead in its tracks. The upgrade can take awhile. The step you are referring to also can only be ran once so do not run step3 of that upgrade more than once. The move data is step 2 that can be done more than once.
I would suspect maybe a php timeout. The upgrade script sets memory limit to 60M in php and timeout to 0.
Do you have a link to your servers phpinfo so I can make any comments necessary to assist?
The upgrade you are referring to has been around for years. I would definately need info from server logs to diagnose that issue. Basically the upgrade there moves files to the new format and then step 3 renames the filenames which is why you can not run that step more than once.
|
| |
February 18th, 2011, 12:05 PM
|
#13 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
sorry chuck the phpinfo is protected so that prying eyes can't see it.
the link at the bottom of the screen to move the data did basically nothing at all. no browser activity...nothing what so ever - it's almost as if it was a dead link.
I do have one question. aside from just running upgrade.php do I need to modify any of the uploaded config files before running the upgrade step?
I will wait for your answer before I proceed.
|
| |
February 18th, 2011, 12:11 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
You do not need to modify anything you simply need to ensure that both config-inc.php and config-intc.php exist on the server
You can send site info to the contact us link in the header I really without proper information can just guess.
|
| |
February 18th, 2011, 12:47 PM
|
#15 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
I'm totally stuck and about to can everything. I been through numerous upgrades and have never had to so little to go on in terms of lack of any types of error messages.
I get this over and over in my phperrlog file:
[18-Feb-2011 12:34:55] PHP Fatal error: Call to undefined function get_regcode() in /usr/local/websites/www.mysite.com/mysite/classifieds/pp-inc.php on line 2764
and when I click on the link to do the directories I got taken to a browser window that is blank and nothing is taking place.
this is nuts....
|
| |
February 18th, 2011, 12:49 PM
|
#16 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
| Quote:
Originally Posted by Chuck S
You can send site info to the contact us link in the header I really without proper information can just guess. |
I would do this but my apache config file only permit certain ip's to get to the directory to where that is located.
if you email me your ip address I'll open out firewall to give you ssh access to the server.
Jeff
|
| |
February 18th, 2011, 01:08 PM
|
#17 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
perhaps there was nothing to convert so I proceeded all the way to the end of the conversion and now I get:
[18-Feb-2011 12:58:49] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required './forums/vb3.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/websites/www.mysite.com/mysite/classifieds/pp-inc.php on line 4607
I know my path names are setup correctly in the config files because they have not changed.
I'll turn off vb3 interface and see what happens
|
| |
February 18th, 2011, 01:12 PM
|
#18 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
no joy - the program starts without vb3 interface turned on, but no pictures or thumbnails display.
I am out of ideas and dead in the water without help from you guys.
sorry if I sound angry and frustrated - it's because I am...I was hoping for some error messages so that I did not have to ask for help here.
Chuck - I have restored everything to it's 2.42 state and then uploaded Version 4, but have not started the upgrade.
If you email me your ip address, I'll open our firewall to give you ssh access and let you know the path to the program and location of phperror and apache log files so that you can try the upgrade for yourself.
thanks in advance...
Last edited by jjj0923; February 18th, 2011 at 01:57 PM.
|
| |
February 18th, 2011, 02:06 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
You can email any site data to the contact us link in the header
I am not turning over my personal ip to anyone sorry. You can send at least url and admin login if you want me to pook around that does not require file access.
Your not going to show images etc if you have not upgraded properly but at least your classifieds admin panel is going to show me your paths phpinfo etc and if you have permissions correct on our files I should be able to set proper paths in there etc
|
| |
February 18th, 2011, 02:34 PM
|
#20 (permalink)
| | Member
Join Date: Mar 2002
Posts: 158
|
check - could the root of the problem be this error which I am getting over and over?
Call to undefined function get_regcode() in /usr/local/websites/www.mysite.com/mysite/classifieds/pp-inc.php on line 2764
ps: I would give you access to the admin panel but it won't even come up for me because of the get_regcode error
jeff
|
| | |
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 | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | Strange Error | Emak | How Do I? - vBulletin 3.6x | 1 | February 25th, 2008 09:49 AM | | Strange error | Yellowspurs | Photopost Pro Bug Reports | 5 | October 18th, 2007 09:30 AM | | Strange error.... | bo0oost | Photopost Pro Bug Reports | 8 | January 21st, 2007 03:46 AM | | Strange error | hani | Installs and Upgrade - vBulletin 3.0.X | 4 | May 7th, 2005 11:09 AM | | strange error | Lizard King | Installs and Upgrade - vBulletin 3.0.X | 1 | April 24th, 2005 07:12 AM | All times are GMT -5. The time now is 06:48 AM. | |