LPMuds.net
September 09, 2010, 04:02:45 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is the forum page. For the main LPMuds page, visit http://lpmuds.net
 
   Home   SITE FAQ INTERMUD DOWNLOADS LINKS Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Password error on CreWeb  (Read 369 times)
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« on: May 15, 2010, 08:20:42 PM »

I installed CreWeb, and it can't seem to recognize mud logins (name and password.)

The java gameplay portal works fine.

To clarify, I have my mud running from a linux machine on a hosted server. Everything seems to have installed into the right folders. I've tried Firefox and IE as the browsers.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #1 on: May 16, 2010, 02:32:33 AM »

Did you follow all the instructions in "help creweb"?

What exactly is the error you're getting?

Quote
Creweb is  a set of CGI scripts written in LPC that
together with the mud web server allow creators to
view and edit their files from the internet, using
their browser.

A creator simply visits the mud home page and clicks on
the CreWeb link, then uses their mud name and mud
password to login.

The interface is primitive, just plain old black-on
white and HTML form controls. Perhaps a better way to
look at is is "clean and uncluttered".

Creators can upload files, and edit files. However,
they cannot navigate beyond their home directory. This
is for security reasons, and probably will not change.

To enable CreWeb on your mud:

1) Choose a port for your web server. In this example
   we'll use port 8001


2) Issue the following commands:

mudconfig http port 8001
mudconfig http disable
mudconfig cgi enable
mudconfig dirlist enable
mudconfig creweb enable
mudconfig http enable


3) Use your favorite browser to go to port 8001 on your
   mud computer. For example:

http://your.mud.address:8001


4) Click on the CreWeb link, log in, and have fun!


Important things to keep in mind about CreWeb:
---------------------------------------------

* This is an experimental system. It probably contains
bugs or problems.

* It requires cookies and javascript enabled.

* It was built with security as a priority but it is
still a web-facing file modification system, meaning it
is not and never can be 100% safe.

* If you decide not to use it, just use the following
command to disable it: mudconfig creweb disable

* It is intentionally limited to home directories
only. You are strongly advised not to try to change
CreWeb to circumvent this.

* If you need to use CreWeb to edit files outside your
home directory, simply copy them into your home directory
while logged into the mud, edit, then copy them back.

* Users of Microsoft Internet Explorer may have occasional
difficulty when editing files. This is due to IE's default
cache behavior. Change your preferences to reload pages:
Tools->General->Settings->Every visit to the page
  Then logout of creweb and restart IE.

* Despite my best efforts, users of IE still sometimes have
problems. If you keep getting weird stuff like not being
able to write to a file, or being unable to display the
page, try using Firefox instead. And complain to MS. Sad
Logged
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« Reply #2 on: May 16, 2010, 02:41:55 AM »

I followed the instructions carefully - they're nice and clear, so thank you for that! I don't get an error message, since it just thinks I'm not giving the proper mud name and password, and simply closes me out after 3 tries. The same name and password, by the way, works fine in logging me in through the java and my telnet, so I suspect the problem is somewhere in the getting of the player info or its comparison.

It displays who is in the game properly, and everything seems to work as designed aside from its not recognizing my mud name and password. I'm the First Admin, if that might make a difference.

At first I thought the CreWeb stuff might have been installed to the wrong directory, but I believe it's in the right place - the mud lib under www.

My computer is running Windows 7.
« Last Edit: May 16, 2010, 02:51:48 AM by BrettH » Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #3 on: May 16, 2010, 03:04:02 AM »

Odd.

Are there any errors in /log/runtime ?

I'll try to duplicate the problem in XP, but unfortunately I don't have a Windows 7 box to test on.

-Crat
Logged
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« Reply #4 on: May 16, 2010, 03:18:36 AM »

That would help wouldn't it!

2010.05.14-01.25,28 /www/cgi/login.c line 52: syntax error
2010.05.14-01.25,28 /www/cgi/login.c line 53: Illegal LHS
2010.05.14-01.25,28 /www/cgi/login.c line 54: Reserved type name unexpected.
2010.05.14-01.25,28 /www/cgi/login.c line 54: syntax error
2010.05.14-01.25,28 /www/cgi/login.c line 54: Undefined variable 'who'
2010.05.14-01.25,28 /www/cgi/login.c line 54: Undefined variable 'shibboleth'
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #5 on: May 16, 2010, 03:26:46 AM »

That would help wouldn't it!

2010.05.14-01.25,28 /www/cgi/login.c line 52: syntax error
2010.05.14-01.25,28 /www/cgi/login.c line 53: Illegal LHS
2010.05.14-01.25,28 /www/cgi/login.c line 54: Reserved type name unexpected.
2010.05.14-01.25,28 /www/cgi/login.c line 54: syntax error
2010.05.14-01.25,28 /www/cgi/login.c line 54: Undefined variable 'who'
2010.05.14-01.25,28 /www/cgi/login.c line 54: Undefined variable 'shibboleth'


Definitely a clue. I'm about to install on XP, I'll see if something similar pops up there.

-Crat
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #6 on: May 16, 2010, 03:39:36 AM »

Works ok on XP.

My guess is that either someone edited /www/cgi/login.c and you dont know/remember,
or there's something basically wrong with Windows 7 in either file handling, file
editing, or file uncompression.

Pure speculation, of course. I really can't say.

But vanilla DS 3.0 runs creweb just fine on XP.

-Crat
Logged
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« Reply #7 on: May 16, 2010, 04:39:20 AM »

I know I haven't edited the file, and I'm the only person with access to it right now. Also, the files are hosted on a Linux machine, though I use Windows 7 to access my account.

I reinstalled the file just to make sure. Nope. Same problem.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #8 on: May 16, 2010, 04:46:34 AM »

I know I haven't edited the file, and I'm the only person with access to it right now. Also, the files are hosted on a Linux machine, though I use Windows 7 to access my account.

I reinstalled the file just to make sure. Nope. Same problem.

Oh.

I thought you meant the mud ran on Windows 7.

If it's running on Linux then the vectors for the problem are less mysterious.

Please post your full /log/runtime and /www/cgi/login.c

Don't forget to use the code tags...it's the # button when posting.

-Crat
Logged
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« Reply #9 on: May 16, 2010, 04:49:06 AM »

I found the answer.

It didn't like my password, which contained exclamation marks.
Logged
cratylus
Your favorite and best
Administrator
***
Offline Offline

Posts: 918


Cratylus@Dead Souls <ds> np


View Profile WWW
« Reply #10 on: May 16, 2010, 04:51:17 AM »

I found the answer.

It didn't like my password, which contained exclamation marks.


Excellent. Thank you for sharing the resolution.

-Crat
Logged
BrettH
Acquaintance
*
Offline Offline

Posts: 6


View Profile
« Reply #11 on: May 16, 2010, 04:53:28 AM »

Thanks so much for working through it with me. It allowed me to pinpoint the likely problem to the password itself.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!