Page 1 of 1

Problems on firstrun.cgi, then can't login to subscriber.cgi

PostPosted: Sat Aug 05, 2006 7:03 pm
by web-rover
On completing the firstrun wizard, it gives a link to the admin control panel. However, it doesn't include the filename subscriber.cgi in the URL address, just ?admin

So for example, it should be but it went to , which ofcourse didn't work.

Had I followed your readme I wouldn't have noticed this, but as the link was provided, and as I'm lazy I got the 'file not found' error. Again I found the subscriber.cgi file had to be CHmod'd to 755 not 777 to get to the login screen. This got me to the login screen but I couldn't login.

The URL changes to and the message I get is:
You don't have permission to access /cgi-bin/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request "

Am I right in thinking the line I should change in subscriber.cgi is
$password = "test"; by putting in my preferred password, eg
$password = "newpassword"; ?

Finally, where should I place the file htmlfragment.html ?

Hope it's all plain sailing after logging in. :-)

PostPosted: Sat Aug 05, 2006 10:48 pm
by Admin-BS
As I mentioned in the other post, the URL you set in firstrun.cgi should include the subscriber.cgi file. That should fix this error.

Also yes, that is the variable you need to change in subscriber.cgi to change your password.

The html fragment file doesn't really need to be placed anywhere. Instead, you should just copy the code (and update the URL as needed) provided to wherever the subscription form is needed on your website.

Login problems

PostPosted: Sun Aug 06, 2006 4:33 pm
by web-rover
Thanks ever so much for the help so far. I can now get to the login panel and am not getting an error page coming up.

However, when I enter the password I get sent to a slightly differnet screen at ... dmin?login saying
Sorry the password you supplied is incorrect. Please try again.

I've checked the subscriber.cgi text file and have checked the password.
It's included in the line:
$password = "sparson";

I've tried installing the files inside the cgi-bin folder, and also outside.

I'm sure I must be doing something wrong, but what?

PostPosted: Sun Aug 06, 2006 9:30 pm
by Admin-BS
The URL should not be "subscriber.cgi?admin?login"

I would guess that you have set the URL incorrectly. It should not include "?admin" in it. Instead it should simply be:

Hope this helps.

Suggestions to help newbies install

PostPosted: Mon Aug 07, 2006 8:53 am
by web-rover
You're a star! I had indeed wrongly entered the URL to the subscriber file in the firstrun panel with the ?admin at the end. I can login know.

I really appreciate how quick your response is on this forum. Would it be possible to have some additional guidance though on the ReadMe file, for those of us who don't know one end of our CGI to the other? It might save more questions on the forum and might avoid some people giving up if they can't get the script to work. The instructions that would be helpful are:

1. The files can be placed anywhere on your website. They don't have to be in the cgi-bin. So long as the file names set in the firstrun setup page detail the full filepath to subscriber.cgi

2. Enter the full address of the subscriber.cgi file in the firstrun admin panel, starting http:// and finishing subscriber.cgi (this is because you make great stress on adding ?admin to the URL when normally using the control panel, so I assumed this also applied on firstrun address.)

3. Set the file attributes of both .cgi files to 755 before running either of them.

Hope this is helpful.

PostPosted: Mon Aug 07, 2006 4:59 pm
by Admin-BS
Most of these little nuances are going to hopefully be gone whenever I finally getting around to finishing up the script rewrite (which I'm sad to say... has progressed very little)... Two top priorites are better documentation and an even easier setup process.

But again, input is always welcome, so I thank you for it!