 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
May 15th, 2005, 08:24 PM
|
#21 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 148
|
What is line 65 of pp-inc.php? I have it as the following: Code: Content visible to verified customers only.
If this is the same line as you have, it means that you should check config-inc.php for the following, and adjust accordingly: Code: Content visible to verified customers only.
I don't think the error message has anything to do with the changes I posted.
|
| |
May 15th, 2005, 08:30 PM
|
#22 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
i have found that message. Now what do i do with it?!?!?
|
| |
May 15th, 2005, 08:37 PM
|
#23 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
Line 65 in pp-inc.php is as you say.
This is my path in the code in config-inc.php
$PP_PATH = "/web/htdocs/pages/photopost";
and that is correct! So, I have no idea what happened! I have touched any code other than what you instructed in this thread so it must be something there...
|
| |
May 15th, 2005, 08:43 PM
|
#24 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
Okay reading this thread from the start Frost's initial post is the best way to do this and easiest without hacking multiple files.
In header-inc.php find this Code: Content visible to verified customers only.
right below it add this Code: Content visible to verified customers only.
Basically that will mean the navbar will show on uploadphoto showphoto everywhere else except the index
|
| |
May 15th, 2005, 08:46 PM
|
#25 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
thank you but my photogallery is BROKEN! I can't even get it to work. Did you see in the thread the part about now getting an error message on ANY photogallery page? I don't know how it happened cause I restored all the original files I changed from Frost's suggestions. How can I make photogallery work again. See here: http://www.wetdawg.com/pages/photopost/index.php |
| |
May 15th, 2005, 08:48 PM
|
#26 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
Make sure as Frost suggested to restore any modified files and ensure that your $PP_PATH is correct and that the english.php file exists.
|
| |
May 15th, 2005, 08:54 PM
|
#27 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
I restored all modifed files (as i mentioned in my thread) and double-checked to make sure the changes were not there. And as I said, my $PP_PATH is correct. BUT there is no english.php file in my photopost directory. What I have is /web/htdocs/pages/photopost/languages/english/
I don't know why it is all the sudden asking for english.php when I have a folder called english....not a file. I haven't touched the language folder.
|
| |
May 15th, 2005, 08:58 PM
|
#28 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 148
|
In the languages folder of the download, there is an english.php file, so upload that file into the languages folder.
PS: I still doubt it is my code changes, sorry. |
| |
May 15th, 2005, 09:00 PM
|
#29 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
In Photopost 5.03 there are no language directories there are single languages files as Frost stated english.php german.php swedish.php so on.
|
| |
May 15th, 2005, 09:16 PM
|
#30 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
I have two versions of photopost - one I just installed for my MZ.com site (most current verson) and an earlier one for my WD.com site. When I first asked Frost how to modify header, I intended it for MZ.com. When I actually started making the changes, I did it for the WD.com site - the earlier version. And now wd.com photogallery is not functional. I took the new "english.php" file and uploaded it into my WD photopost directory, which only has an english folder, and it still went haywire. So i have deleted it.
But, still I restored all the files i changed on the WD.com photogallery and i am still having problems....
|
| |
May 15th, 2005, 09:20 PM
|
#31 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
Omegatron - is there a safe way for me to give you my FTP info so you can have a look at what is going on?
|
| |
May 15th, 2005, 09:24 PM
|
#32 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 148
|
Hmm, got me there, as my code changes were meant for MZ.com site (most current version). I haven't been around PP long enough to know what the old code looked like. Just to be sure, are you uploading the old fresh PP version to the WD.com site?
|
| |
May 15th, 2005, 09:29 PM
|
#33 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
yes, I am. before I made changes to the files, I save them as "pp-inc_originals.php" and then when I restored them, I changed "pp-inc_originals.php" back to "pp-inc.php".
|
| |
May 15th, 2005, 09:29 PM
|
#34 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
I just received this email:
An error was encountered during execution of the query:
SELECT id,ugnoupload,ugnoanno,ugnoview,ugnopost,ugnovote,password,watermark,cattype,catname,parent,children,thumbs,canzip,moderators,header,footer,headtags FROM photo_categories
The query returned with an errorcode of:
Unknown column 'canzip' in 'field list'
If you need assistence or feel this is a 'bug'; please report it to our support forums at: http://www.photopost.com/members/forum/f66/index.html
To turn off these emails, set $debug=0 in your config-inc.php file.
What does this mean - something really buggy is going on...
|
| |
May 15th, 2005, 09:32 PM
|
#35 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
You have to be uploading newer files to the old site with old files. Based on the errors your posting.
|
| |
May 15th, 2005, 09:37 PM
|
#36 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
I really don't think so because I am pretty sure I downloaded from the right place. I never used files on my desktop. Let's say this is the case - what do I do? the files have been overwritten!
|
| |
May 15th, 2005, 09:49 PM
|
#37 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
You either if your trying to modify an older version replace any files from the older version with older files that are not modified or you must upgrade the old install if you do not have the older source files.
We do not link older versions. Only the current version is available for download.
|
| |
May 15th, 2005, 09:50 PM
|
#38 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 148
|
The following partial query: Code: Content visible to verified customers only.
Is in the latest PP gallery pp-inc.php file, so it looks like somehow you've updated the PP scripts to the new version but not the tables, as "Unknown column 'canzip' in 'field list'" means that your photo_categories table does not have a canzip column.
|
| |
May 15th, 2005, 10:00 PM
|
#39 (permalink)
| | Member Verified Customer
Join Date: Oct 2003
Posts: 141
|
i think you guys are right - i have overwritten them. Damn. Fortunately, my server backs up files every day. So, I am downloading all files from the last back up and should be able to pull the original pp-inc. and header-inc. files and restore them. That should do the trick, don't you think?
|
| |
May 15th, 2005, 10:05 PM
|
#40 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,788
|
That should yes
|
| | |
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 | | Nav bar question | nnowakow | Photopost Pro How Do I...? | 1 | August 30th, 2005 03:27 PM | | Nav Bar | dieselpowered | Installs and Upgrade - vBulletin 3.5.X | 10 | July 28th, 2005 04:05 AM | | homelink in nav bar not correct | adam_99uk | Installs and Upgrade - vBulletin 3.0.X | 1 | June 8th, 2005 10:15 AM | | Adding new links in the nav bar? | dcpaq2 | How Do I? - vBulletin 3.0.X | 3 | June 3rd, 2005 08:56 AM | | vB3 nav bar. | Laeth | Photopost Pro Installation & Upgrades | 2 | August 2nd, 2004 11:11 AM | All times are GMT -5. The time now is 06:55 AM. | |