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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 21st, 2008, 06:39 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
undefined function ppmysql_query_one()?? Please help

When I try to upload a file I get the error:
"Fatal error: Call to undefined function ppmysql_query_one() in /home/sharks/domains/sharks.us/public_html/photo_post/image-inc.php on line 663".

Can anyone help?

Last edited by smoked1; January 21st, 2008 at 06:54 PM.
smoked1 is offline   Reply With Quote
Old January 21st, 2008, 08:45 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
You have recently upgraded and not uploaded all the new files. download the build and upload everything except the config files and install file.
__________________
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 January 22nd, 2008, 02:02 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
I'm afraid that that did not work.
smoked1 is offline   Reply With Quote
Old January 22nd, 2008, 03:08 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
I would suggest you check your ftp program and make sure your overwriting files because if you properly upload files to your site this error will go away. That function is indeed located in Photopost core pp-inc.php file and the error tells me your pp-inc.php is not new hense you probally have other files that where not uploaded so reupload the core package minus the files noted. You may want to try some other ftp program as well.
__________________
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 January 22nd, 2008, 04:49 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
I figured it out. I was using a previous version of the pp-inc.php file because there were changes that it had that I needed. The get_forum_style function is not defined in the file so you have to add the code to the file to define it.

Code:
Content visible to verified customers only.
smoked1 is offline   Reply With Quote
Old January 22nd, 2008, 06:56 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
thats defined in another file which would be your integration file in the forums subdirectory of the product. As already noted I would suggest you run all new files to ensure you do not have issues.
__________________
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 January 23rd, 2008, 03:15 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
I am using all of the new files but if I don't add that code it just won't work. I have another issue now. None of the categories are being displayed on the front page. What could have caused this to happen?

http://www.sharks.us/photo_post/
smoked1 is offline   Reply With Quote
Old January 23rd, 2008, 03:25 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
That function as clearly defined exists where I am saying in the integration file for your integration and it is in your dcf.php forum integration file so if you have to add something to your pp-inc.php you have not uploaded all the new files. I hope this clarifies what I am saying even further.
__________________
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 January 23rd, 2008, 05:11 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
OK everything is all new files now and the images are showing up. However, I now have a problem logging in.

Code:
Content visible to verified customers only.
smoked1 is offline   Reply With Quote
Old January 23rd, 2008, 05:21 PM   #10 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
The error that I get when I run that query on the database is:

Code:
Content visible to verified customers only.
It does look like there is one more field in the database than there is in the query.
smoked1 is offline   Reply With Quote
Old January 23rd, 2008, 06:15 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,809
Your probally trying to run a newer version of DCForums then the integration is set for. You should have had the same error with the old file as well. Just find the query in dcf.php and alter the query to match your newer sessions table so it works. I dont know what your table is so hard to comment just add the new field in where needed in the values by doing , '' where needed.
__________________
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 January 23rd, 2008, 06:34 PM   #12 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2005
Posts: 15
That worked. Thanks.
smoked1 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
undefined function: imagecreatefromjpeg() I, Brian Photopost Pro Installation & Upgrades 3 November 25th, 2006 04:15 PM
Fatal error: Call to undefined function: parse_bbcode2() C.Birch Installs and Upgrade - vBulletin 3.5.X 1 August 5th, 2005 07:43 PM
undefined function: ob_flush() lonnies Installs and Upgrade - vBulletin 3.0.X 1 February 14th, 2005 12:31 PM
Call to undefined function: parse_bbcode qwk98gt Photopost Pro Installation & Upgrades 1 January 28th, 2005 02:46 PM
Call to undefined function dethfire Photopost Pro Installation & Upgrades 3 June 24th, 2004 08:26 PM


All times are GMT -5. The time now is 05:22 PM.

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