PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Script call malformed. Some actions require you to be logged in. Please verify you ar (http://www.photopost.com/forum/classifieds-bug-reports/143271-script-call-malformed-some-actions-require-you-logged-please-verify-you-ar.html)

chep June 30th, 2010 06:52 PM

Script call malformed. Some actions require you to be logged in. Please verify you ar
 
Script call malformed. Some actions require you to be logged in. Please verify you are logged in and try the link again. If you continue to have problems please notify your Administrator.

I got a report for this error. Then I upgraded our classifieds to PhotoPost Classifieds 4.02 this morning.

I subscribed to a category and when I got the email to reproduce the problem... Sure enough.

What is the fix please? I was hoping it was in the latest drop but apparently it is more complex than just upgrading.

chep June 30th, 2010 07:07 PM

Digging, digging...

Found this which is key http://www.photopost.com/forum/class...pc-3-11-a.html

The url in my email says thecat no sub

Now I checked my phrases.php which I downloaded and it says thecat not sub. When I change the URL in the browser I do not get the error. Seems to me the phrases.php might be needing a looking over. It also seems that my database now needs an upgrade in order to fix this problem for the long haul...so off to do that next.

Chuck S June 30th, 2010 09:19 PM

you would have to give more information where your talking about etc.

most likely you have not upgraded your site correctly but please post a url and where your getting an error.

chep June 30th, 2010 09:44 PM

The email.

To turn off subscriptions for this category, click on the following link:

http://hunting-washington.com/classi...ribe&thecat=21

Chuck S June 30th, 2010 09:46 PM

thanks that gives me somewhere to look

chep June 30th, 2010 09:49 PM

I re-ran update to phrases and get an error:

Preparing to update database...
Error performing MySQL command: INSERT INTO cp_languages VALUES (1, 'english', 'en', 'UTF-8', 'ltr');
Error: Column count doesn't match value count at row 1


PhotoPost Classifieds has been successfully installed!

Chuck S June 30th, 2010 10:06 PM

thats because you cant run the upgrade again the tables are already altered so you will get that error.

chep July 1st, 2010 11:29 PM

I was able to confirm just today that the change to the database fixed the issue in the email url.

For example in Phrases.php I found the text which lead me to the source of the problem in my phrases table of the database. I made the fix to the database based upon this information and presto the issue went away.

remove:
Code:

Content visible to verified customers only.
replace
Code:

Content visible to verified customers only.

Seano July 2nd, 2010 02:20 AM

I am getting this same error when a user tries to unsubscribe from a category.

Message - xFalcon.com Classifieds

If you'd like a username to test this PM me and I can set one up.

Gets this error: Script call malformed. Some actions require you to be logged in. Please verify you are logged in and try the link again. If you continue to have problems please notify your Administrator.

As far as I'm aware this error existed before the upgrade - I had a user report it, and still exists after I upgraded. I uploaded all the files and ran the upgrades...

Chuck S July 2nd, 2010 07:44 AM

follow post 8

Seano July 2nd, 2010 09:55 AM

I edited phrases.php and the problem remains.

Chuck S July 2nd, 2010 02:51 PM

You can edit phrases.php but then you need to run it to reimport the phrases as they are in the database or edit that phrase under admin edit strings

The only difference in the phrase is

thecat=^thecat

becomes

sub=^thecat

KenDude December 13th, 2011 11:51 AM

Let me ask about it here too Chuck, here is what my user received when trying to unsubscribe from a category via email:


http://www.planet-9.com/classifieds/...cribe&thecat=6

(actually there was some HTML code before and after the link that didn't get properly stripped by the classifieds software but we'll ignore that for now)

Are you saying that it should say action=sub&thecat=6 instead of the word subscribe? If so, then there is something still wrong with the default Classifieds code and this bug was never fixed. I have not tried the manual fix above yet for changing the phrases because I want to understand exactly what should change first.

Chuck S December 13th, 2011 01:04 PM

Ken I definately show any classifieds source code after any reported bug has indeed been fixed. If I look at our phrases.php file which has the phrases the phrase is indeed

misc.php?action=subscribe&sub=^thecat

That is the correct phrase so maybe you need to reimport your phrases?

KenDude January 1st, 2012 03:58 PM

Chuck,
If I re-import the phrases won't I lose any customizations that I've made such as changing the word Product to Article and Upload to Submit, etc. in the phrase manager in the admin panel? Couldn't I just search for say the word "subscribe" in the admin phrase manager and find that one item and just manually change it?

Chuck S January 1st, 2012 05:33 PM

Yes you could view the phrases.php file and search for say what I have posted above and reimport just that phrase.


All times are GMT -5. The time now is 04:25 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