![]() |
Problems, problems...solutions? Hi, Here's a couple for ya, :rolleyes: 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 |
Quote:
Quote:
but then I see you already solved this one as I can see that photos http://www.base4gardening.com/galler...to.php/photo/2 |
Confusion Quote:
Quote:
Require users to be registered to view images? no/yes - We set this to NO - on base4art.com Quote:
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! :) |
I would simply suggest you upgrade the old site so your not running any bugs that have been fixed |
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/ |
Not quite there... Hello again, All the following issues refer to www.base4gardening.com. Here is the latest lowdown... Quote:
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 |
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 ); |
Quote:
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:
Quote:
Thanks Jon |
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. |
Quote:
Quote:
Thanks Jon |
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 |
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? |
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. |
Quote:
Many Thanks Jon |
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 |
Quote:
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. :confused: Thanks Jon |
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 |
| All times are GMT -5. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0