transporter_ii
Posts: 4
|
| Posted: 09/16/2006, 1:59 AM |
|
Ok, I must be missing something simple!?!?
Installed gotocode's classifieds perl (standard version). Followed the readme file, created the database, and did some testing. The database was created with the default admin/guest accounts and I have confirmed that these two users do show up in the mysql database.
When I login with admin/admin or guest/guest, I go right back to the login screen instead of the administration (AdminMenu.cgi). Note that admin/admin will just get me back to the login screen...but if I type admin/wrong password, I get a message that the password was incorrect. This tells me that classifieds is checking the user name and password correctly, but just not letting me open the AdminMenu.cgi for some reason.
Any help would be greatly appreciated, as I already have about three hours tied up in setting up the script, I would like to get into the administration page and play around with it.
Thanks,
Transporter_ii
|
 |
 |
transporter_ii
Posts: 4
|
| Posted: 09/16/2006, 2:08 AM |
|
Also, if this matters, I can't get into the administration pages of any of the demos on gotocode.com. I noticed this when playing around with the demos, but I thought maybe they weren't active on the demos...which led me to installing the script just to try and see the administration page...which led me to posting here.
Note, that I have tried using IE and Firefox
Thanks,
Transporter_ii
|
 |
 |
transporter_ii
Posts: 4
|
| Posted: 09/16/2006, 2:13 AM |
|
Not to sound stupid, either, but at the moment I'm actually working on gotocode's yellowpages script. I was looking at classifieds, too, which is why I typed that in. Hey, it is like 4:13 in the morning here!
Thanks,
Transporter_ii
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 09/17/2006, 8:32 PM |
|
transporter_ii
You might want to also try asking for assistance in the Perl forum as well. Just a thought...
|
 |
 |
transporter_ii
Posts: 4
|
| Posted: 09/17/2006, 9:16 PM |
|
Actually, I figured it out. I did some work on writting an error FAQ for agora cart. I got to thinking about things from it and worked my way back through the problem logically.
For one, I noticed when I ran login.cgi locally through SSL, it created a session in the session_files folder. But when I ran it from my web browser, no session was generated. Thus, I got to thinking about permissions. I chmodded some files to 777 instead of the 755 recommended in the yellowpages readme file, and it went right to work.
The deal is, the Apache web server is running under its own ID, and when it starts a process using cgi files tagged with my identity, it doesn't have the proper permissions.
There is actually an open source agora cart wrapper for linux/freebsd that fixes this same problem for agora cart. It might be something, since it is open source, that could be integrated into the goto codes programs, since I'm sure I'm not the only person to ever have this file. Or the Yellowpages script file could mention something about this in its readme file, since, again, I'm sure this has happened to lots of people.
Of course, I think the proper way this should be fixed is to start Apache processes under the users ID instead of its own ID. I guess I could do that, since I set the freebsd server up...but it is one of those things I just haven't had time to sit around and mess with.
Transporter_ii
|
 |
 |
|