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 July 26th, 2005, 12:33 PM   #1 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Problems, problems...solutions?

Hi,

Here's a couple for ya,



Problem 1

We have tried to customise fields for use with our gallery. We have successfully implemented this with one of our galleries but are having problems with this implementation.

We type in the extra field names in the edit category pages and this is seems all fine, however when we go to upload photos into a category that has extra fields in we just get a blank page after pressing the submit/upload page.

Why is this?

Problem 2

Ok call us daft… but we want to allow unregistered users to browse our galleries, however each time they try, they get the “sorry not authorised to view” pp error message. How can we solve this?

We have turned OFF “users need to be registered in order to view gallery” option and the category options for unregistered; these "users can view images" seems to allow access, this appears to be correct from the top of the category tree downwards.

Please can someone help us with these niggling problems, as we would be extremely grateful…

If any pp admin wish to pm for login access please feel free.

many thanks in advance,

Jon

P.s My post from last week about hiding categories has still not been solved either.

FYI
----------
pp ver 5.13
Linux shared hosting

Last edited by Base4; July 26th, 2005 at 12:37 PM.
Base4 is offline   Reply With Quote
Old July 26th, 2005, 01:47 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Quote:
Originally Posted by Base4
Hi,
Problem 1

We have tried to customise fields for use with our gallery. We have successfully implemented this with one of our galleries but are having problems with this implementation.

We type in the extra field names in the edit category pages and this is seems all fine, however when we go to upload photos into a category that has extra fields in we just get a blank page after pressing the submit/upload page.

Why is this?
Maybe you get a blank page by uploading a real large image? I can use extra fields so you can PM admin login with category info

Quote:
Originally Posted by Base4
Problem 2

Ok call us daft… but we want to allow unregistered users to browse our galleries, however each time they try, they get the “sorry not authorised to view” pp error message. How can we solve this?

We have turned OFF “users need to be registered in order to view gallery” option and the category options for unregistered; these "users can view images" seems to allow access, this appears to be correct from the top of the category tree downwards.
In admin options if you do want unregistered users able to view images you need to set this to yes

but then I see you already solved this one as I can see that photos

http://www.base4gardening.com/galler...to.php/photo/2
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 26th, 2005, 04:19 PM   #3 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Confusion

Quote:
Originally Posted by omegatron
Maybe you get a blank page by uploading a real large image? I can use extra fields so you can PM admin login with category info
No the images were only 6.7k. I have pm'd you the login details you require.

Quote:
Originally Posted by omegatron
In admin options if you do want unregistered users able to view images you need to set this to yes
Sorry, I probably confused you (I did myself) the option was Admin panel --> registration options -->

Require users to be registered to view images? no/yes - We set this to NO - on base4art.com

Quote:
Originally Posted by omegatron
but then I see you already solved this one as I can see that photos

http://www.base4gardening.com/galler...to.php/photo/2
He he, yes I have confused you With this site - www.base4gardening.com - we do NOT want unregistered users to be able to view images.

With this site we do want unregistered users to be able to view images - www.base4art.com.

Now you might be thinking hang on a minute there's only two possible options to this problem and your trying to solve both!! - yes we are but the installs are both different versions base4gardening (5.1) and base4art (5.13) and so seem to behaving differently - maybe we should swap the sites around!

Last edited by Base4; July 26th, 2005 at 04:23 PM.
Base4 is offline   Reply With Quote
Old July 26th, 2005, 08:57 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
I would simply suggest you upgrade the old site so your not running any bugs that have been fixed
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 26th, 2005, 09:11 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You definately have some issues with the base install

You have unregistered set to view so I simple set it to no

Now as I suggested before make sure on both installs to upgrade and make sure to upload all files except the config files. Notice how regardless of whether you set style your page is no template styles. definately some weird happenings there

http://www.base4art.co.uk/gallery/
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 05:59 AM   #6 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Not quite there...

Hello again,

All the following issues refer to www.base4gardening.com.

Here is the latest lowdown...

Quote:
Originally Posted by omegatron
I would simply suggest you upgrade the old site so your not running any bugs that have been fixed
Ok I have just upgraded the site to version 5.13.

Some problems have been fixed some have not.

Problems fixed
===========

If you are an unregistered user you can now no longer view images.

Exception when you click on members galleries link you can still see thumbnails of uploaded images next to members name - Is this supposed to happen - we would prefer if you could not see the thumbs?

Problems NOT fixed
==============

MySQL (warning) error message in "showgallery.php" when browsing as an unregistered user is shown at top of screen.


Upgrade procedure
==============

Just so you know what I did in order to upgrade I have listed my steps below.

Uploaded all (5.13) files except, Config-inc.php and Install.php to pp installation folder
Ran the upgrade script and clicked on, 5.0X upgrade
Script Upgraded database to ver. 5.10
Script then upgraded database to 5.11
All upgrades successful.


Jon
Base4 is offline   Reply With Quote
Old July 27th, 2005, 09:53 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Again as I have stated in another thread you need to run any necessary upgrades. Your other install you had not ran the upgrade script which caused you issues. This is the query and you are missing something so run the query in phpmyadmin to see what your missing and then run the necessary upgrade

if ( is_numeric($cat) ) {
$query = "SELECT c.id,c.catname,c.thumbs,c.cattype,c.parent,c.theme,
c.sortorder,c.frames,c.intro,c.introtitle,c.introcopy,c.ratingtype,c.takevotes,c.ismember,n.userid
FROM {$Globals['pp_db_prefix']}categories c
LEFT JOIN {$Globals['pp_db_prefix']}notify n ON (n.userid={$User['userid']} AND n.photo=c.id AND n.type=1)
WHERE c.id=$cat";
$ctitleq = ppmysql_query($query, $link);

list( $thecatid, $thecatname, $catthumbs, $cattype, $catparent, $cattheme, $catsortorder, $frames, $hasintro, $introtitle, $introcopy, $ratingtype, $takevotes, $ismember, $notify ) = mysql_fetch_row($ctitleq);
ppmysql_free_result( $ctitleq );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 11:45 AM   #8 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Quote:
Originally Posted by omegatron
Again as I have stated in another thread you need to run any necessary upgrades.
...but I thought I have just run the upgrades...(see last post) is there something I am missing?

The site (www.base4gardening.com) worked to some extent (not how we wanted) before I ran the upgrades now after running the upgrade script it is in the same state as (www.base4art.com)

Quote:
Originally Posted by omegatron
Your other install you had not ran the upgrade script which caused you issues...
I ran the same upgrade procedure (see last post) on this www.base4art.com (2 weeks ago) as I just have on www.base4gardening.com - except base4art was upgraded in several parts i.e 5.03 --> 5.1 --> 5.11 - these were done via upgrade script using the 5.12 zipped files. So 5.12? --> 5.13 was done by just uploading the necessary (5.13 zipped) files as per michael's post for upgrading.


Quote:
Originally Posted by omegatron
This is the query and you are missing something so run the query in phpmyadmin to see what your missing and then run the necessary upgrade

if ( is_numeric($cat) ) {
$query = "SELECT c.id,c.catname,c.thumbs,c.cattype,c.parent,c.theme,
c.sortorder,c.frames,c.intro,c.introtitle,c.introcopy,c.ratingtype,c.takevotes,c.ismember,n.userid
FROM {$Globals['pp_db_prefix']}categories c
LEFT JOIN {$Globals['pp_db_prefix']}notify n ON (n.userid={$User['userid']} AND n.photo=c.id AND n.type=1)
WHERE c.id=$cat";
$ctitleq = ppmysql_query($query, $link);

list( $thecatid, $thecatname, $catthumbs, $cattype, $catparent, $cattheme, $catsortorder, $frames, $hasintro, $introtitle, $introcopy, $ratingtype, $takevotes, $ismember, $notify ) = mysql_fetch_row($ctitleq);
ppmysql_free_result( $ctitleq );
I have just run your query but it seems to throw a syntax error. Possible missing curly brace? Forgive my ignorance I do not know much SQL.

Thanks

Jon

Last edited by Base4; July 27th, 2005 at 11:58 AM.
Base4 is offline   Reply With Quote
Old July 27th, 2005, 11:58 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
This is the query you would run in the sql box of phpmyadmin. You dont include php code. You need to replace the with the proper table prefix but this should tell you whats missing

Code:
Content visible to verified customers only.
All I know is on the other install I noticed an issue and ran the upgrade and that site was then fine. So for whichever reason your either not running all the upgrades you needed to run. Only thing I can say when your missing fields that are added when running an upgrade script.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 12:22 PM   #10 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Quote:
Originally Posted by omegatron
This is the query you would run in the sql box of phpmyadmin. You dont include php code. You need to replace the with the proper table prefix but this should tell you whats missing

Code:
Content visible to verified customers only.
Ok thanks I tried putting in verbatim what is above and it says it has excuted successfully. Not sure what the result means though.

Quote:
Originally Posted by omegatron
All I know is on the other install I noticed an issue and ran the upgrade and that site was then fine...
Base4art? - Yes I was going to ask you about that, I wondered what you had changed because now you get what seems like a cookies problem (i.e. you cant log in.). PP says login is successful - but you haven't logged in. We have had to close the gallery down, www.base4art.co.uk but pm me and I'll remove the holding page.

Thanks

Jon
Base4 is offline   Reply With Quote
Old July 27th, 2005, 12:41 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Make sure you upload all the files. Replace your wowbb integration file etc

If you ran the upgrades the only thing I can suggest is to why the query fails for unregistered users is your missing this important part in the wowbb file which sets userid to 0 for unregistered users

$User['userid'] = 0;

Thats why its so important to ensure your files are right
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 01:15 PM   #12 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Hi,

ok I will try this (uploading all the files to base4art) within the next few hours and then get back to you.



Thanks

Jon

P.s Is there anyway to backtrack from what you changed to at least get the gallery (www.base4art.co.uk/gallery/) partially operational?
Base4 is offline   Reply With Quote
Old July 27th, 2005, 01:32 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
What do you mean in your PS?

You need to set the necessary options you want in the admin options.

http://www.base4art.co.uk/gallery/

Surely looks operational to me and I beleive any questions regarding this gallery have been answered as you had not ran your upgrade script. Now you need to set the settings you want.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 03:42 PM   #14 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Quote:
Originally Posted by omegatron
What do you mean in your PS?

You need to set the necessary options you want in the admin options.

http://www.base4art.co.uk/gallery/

Surely looks operational to me and I beleive any questions regarding this gallery have been answered as you had not ran your upgrade script. Now you need to set the settings you want.
No, no it is not operational - use the login authorisation I gave you and you will see you cannot login as an administrator - so there is no chance of changing any admin options. I have tried this from two different locations with no success.

Many Thanks

Jon
Base4 is offline   Reply With Quote
Old July 27th, 2005, 03:51 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Did you make sure when you installed where it stated on install to set your wowbb cookie name?

If it is set check your other cookie settings as surely not set

cookie prefix should be empty

cookie domain should be .base4art.co.uk

cookie path should be /

If you correct this situation login should be recognized. If the cookies are set right then the only other thing it can be is as we have previously discussed an old wowbb.php file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old July 27th, 2005, 04:15 PM   #16 (permalink)
Junior Member
Verified Customer
 
Base4's Avatar
 
Join Date: May 2005
Posts: 19
Quote:
Originally Posted by omegatron
Did you make sure when you installed where it stated on install to set your wowbb cookie name?

If it is set check your other cookie settings as surely not set

cookie prefix should be empty

cookie domain should be .base4art.co.uk

cookie path should be /

If you correct this situation login should be recognized. If the cookies are set right then the only other thing it can be is as we have previously discussed an old wowbb.php file
Ok I looked up settings in phpMyAdmin and cookie name was not set - you were right - and now its working, thanks.

However, there is some loss of stylesheet formatting, BUT putting that aside I am sorry to say the original problem is still there - i.e. unregistered users cannot see public galleries - even though all settings seem to be in their favour AND extra fields don't work because you cannot upload AND we are still getting the MySQL warning error message.

Thanks

Jon
Base4 is offline   Reply With Quote
Old July 27th, 2005, 04:53 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You have members portfolio set for unregistered not to view images in that category. If you want them to then you need to change this in category permissions

Your style is set when I login.

PM me your ftp access so I can see whats wrong with your files. You continue to get a showgallery error even when you say files are all new
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
A few problems weirdpixels Bugs From 1.0.0 5 March 8th, 2005 01:27 PM
many problems imported_sitka Installs and Upgrade - vBulletin 3.0.X 3 February 13th, 2005 11:45 PM
problems + problems after install help please. drache Photopost Pro Installation & Upgrades 9 September 1st, 2004 11:15 AM
Need urgent help here : Logging in problems/ Cookie problems cinq Photopost Pro Installation & Upgrades 8 July 28th, 2004 08:17 AM
Help! Several Problems... rsuplido Classifieds Installation & Upgrades 4 June 24th, 2004 02:38 PM


All times are GMT -5. The time now is 09:13 AM.

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