Gossamer Forum
Home : Products : Others : Gossamer Community :

Links SQL modify.cgi with redirect

Quote Reply
Links SQL modify.cgi with redirect
When I click on modify a link in Links SQL, I am redirected to the login screen of Community. Now, after I logged in, I am taken to the "Where would you like to start today?" page, but ideally, I should be redirected to the modify screen in Links.

Is that a bug?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Links SQL modify.cgi with redirect In reply to
Yes, that would be a bug. It doesn't do that on our test install. Are you using 2.1.2? Also, what is the URL you get redirected to after clicking modify? It should be:

community.cgi?url=http://...../modify.cgi

or something similiar. The url= is where you will go to after logging in.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Links SQL modify.cgi with redirect In reply to
Yes, I am using 2.1.2.

The url is of the form you said, i.e. community.cgi?url=http://...../modify.cgi, but I am finished logging in I get the "where would you like to start" page.

BTW, this also happens when I am logged in. I.e. I log in using community, then I browse the directory, click on "modify", and I get redirected to the "where would you like to start" page.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Links SQL modify.cgi with redirect In reply to
Ivan,

Are you browsing the directory in Dynamic mode? If not then try that and see if it helps - I am not using static at all - but I noticed that if I end up on a static page something like this happens..

Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Links SQL modify.cgi with redirect In reply to
I am geting the same problem with add and modify. They both go to the `Where would you like to start today?` page. I download and installed the lastest version today v.0.9.1 was the one. Is that Beta 2?

the string i get is http://www.mydomain.com/...2Fmodify.cgi%3Fd%3D1



Cat
Quote Reply
Re: [catlovette] Links SQL modify.cgi with redirect In reply to
You need to enable the Application for the user - go to the Users Database and enable the Applications at the end of the page and try again...

This is a know issue that Alex will fix shortly - new users are not automatically being Enabled for the various applications.

Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Links SQL modify.cgi with redirect In reply to
Greetings:

This is a fairly 'significant' bug if you have in excess of 5,000 users! It's a little slow to go through and activate each one at a time.

Is there a way to turn them ALL ON?

Thanks,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] Links SQL modify.cgi with redirect In reply to
You should not use Beta versions on a production machine. I would wait for the final version Clint..

You may however be able to set them all to Enabled using mysqlman

Cheers
Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Links SQL modify.cgi with redirect In reply to
Hi Klaus:

Good point - and exactly what I'm doing - testing it out on my server at home first (as I do with most things I install). It's saved me lots of potential heartache over the years!



Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [klauslovgreen] Links SQL modify.cgi with redirect In reply to
Solution Found!

In the Community Database in the comm_users table and the app_links field if you change the default to '2' BEFORE you do an import access to Links will be enabled for all users that are imported.

This may be handy for those that are 'dying' to try it out on production machines 'despite' the warnings Crazy

Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [yogi] Links SQL modify.cgi with redirect In reply to
Yogi,

I am having a similar problem. I am using the latest versions of LSQL and Community and the redirect URL is not working. The user that logges in is redirected to the log in page and not modify.cgi, rate.cgi or whate ever script that gets redirected to community.cgi for login.

How did you get this working? The user that logged in has the LSQL app validated and I get this problem in both dynamic and static mode Mad

Any ideas someone?
Quote Reply
Re: [nt6] Links SQL modify.cgi with redirect In reply to
Turn on debug, and tail the error log. I suspect it is a cookie issue and what is happening is:

1. Go to modify.cgi -- not logged in, redirected to community.cgi.
2. Log into to community.cgi, and since you passed in url=modify.cgi, get redirected back to modify.cgi.
3. Links SQL still doesn't think you are logged in, or you don't have access to the application, so it sends you back to community.cgi.
4. Community.cgi sees you are logged in, so you get the welcome screen.

With debug on, look at what the error message in step 3 says.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Links SQL modify.cgi with redirect In reply to
Alex,
what error message, or rather where? in the /var/apache/log/error?
Or somewhere else, because I don't see any error messages on screen in the regular pages like community.cgi.
Quote Reply
Re: [nt6] Links SQL modify.cgi with redirect In reply to
Check and make sure that Links is "Enabled" for the users.

You might have to do a manual database update. I did.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] Links SQL modify.cgi with redirect In reply to
I did check and that was not the problem.