 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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.
|
| |
January 21st, 2008, 08:45 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
January 22nd, 2008, 03:08 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
January 22nd, 2008, 06:56 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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/ |
| |
January 23rd, 2008, 03:25 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
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.
|
| |
January 23rd, 2008, 06:15 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 23rd, 2008, 06:34 PM
|
#12 (permalink)
| | Junior Member Verified Customer
Join Date: Oct 2005
Posts: 15
|
That worked. Thanks.
|
| | |
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 05:22 PM. | |