PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Upgrading 2.61 - 3.03 (http://www.photopost.com/forum/classifieds-installation-upgrades/137211-upgrading-2-61-3-03-a.html)

damon18 July 9th, 2008 11:22 PM

Upgrading 2.61 - 3.03
 
I'm trying to upgrade my classifieds (Postnuke integration) from 2.61 to 3.03 and having guest permission problems.

Since the existing classifieds is very busy I made an exact copy of the live database (database303) to do the upgrade against. Uploaded all the 303 files to a new directory /classifieds303, edited the config-inc.php file and ran the upgrade script.

After going into admin and editing all the places the path needed changing from /classifieds to /classifieds303, I now have a completely clean copy of 303 running here
http://www.thebeachcats.com/classifieds303
to keep it from being picked up by search engines I have it password protected.

username = classifieds303
password = photopost

I've tested logging in and posting an ad, admin, everything works except for the fact that guests can see the "place an ad" link, and the "contact seller" link, and the comment form.

When a guest leaves a comment it results in an "empty" notification email and no comment placed. ( I had mentioned that before but was told to use the latest code )

When a guest tries to place an ad they get an sql error

Code:

Content visible to verified customers only.
This all looks like a problem with the postnuke integration. I only have three groups in Postnuke.

Admins - Users - Scammers

and these are reflected in the usergroups editor and in the categories.

Please take a look and let me know the problem.

Damon

Chuck S July 10th, 2008 09:09 AM

Interesting possibly your missing the guest usergroup?

Code:

Content visible to verified customers only.
I would be glad to compare the postnuke files if you still have an old one from 2.6

damon18 July 10th, 2008 03:39 PM

Quote:

Originally Posted by Chuck S (Post 1227921)
Interesting possibly your missing the guest usergroup?

I used your sql to add the guests group to the classifieds database and it didn't make any difference.

I realized that adding the group directly to classifieds could be a problem when groups are refreshed in the future. So I deleted the guests group and added it to Postnuke, then refreshed groups in classifieds to get it back.

Still doesn't make any difference.

In the code I see a lot of references to userid = 0, I don't have a user with the id of 0, so I tried adding a user named Guests with the pn_uid of 0 and made it a member of the new Guests group with groupid of 100.

Didn't make any difference.


Quote:

I would be glad to compare the postnuke files if you still have an old one from 2.6
This problem was happening with the old file too.

damon18 July 10th, 2008 03:54 PM

I didn't mention above that also, a guest can see/use the "contact seller" link and the contact email is sent out no problem, even though guests have no rights but read on the classifieds.

Chuck S July 10th, 2008 05:13 PM

I beleive I posted in another thread but feel free to email me the details to check out the different versions and I will respond.

damon18 July 10th, 2008 05:47 PM

I shouldn't have answered in the other thread, just confused the matter. Let's stick here.

I have a completely clean copy of 303 running here
http://www.thebeachcats.com/classifieds303
to keep it from being picked up by search engines I have it password protected.

username = classifieds303
password = photopost

You can see all the problems as a guest there. Feel free to register and place a test ad if you want to see what happens when logged in (everything appears to work correctly).

Chuck S July 10th, 2008 05:53 PM

As stated please send the requested info so I can compare your installs and login as admin see how things are set and ftp so I can compare files.


All times are GMT -5. The time now is 03:27 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97