[Solved]: 1.3.0 Create User problem [Solved]: 1.3.0 Create User problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: 1.3.0 Create User problem

Started by dodgy, July 21, 2004, 05:54:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dodgy

Hi,

When I click 'Users' and then 'Create New User' I'm taken to a screen that says 'Modify User' with all fields blank. If I add some details, the user is not added.

If I select 'Edit' on the 'Users' pane, I also can't change any usergroup settings. I click a new group, click Modify but the changes are not saved.

I've had to set my users up by 'registering' them using the register link, and then edited their permissions directly in the db.

Is this a general problem or something just I'm experiencing? Debug shows no errors through the process  :(

Thanks

Joachim Müller

I'm not able to replicate this behaviour. Link, please, plus a screenshot from the server vars part of your phpinfo section - I suspect there's something fishy with your server vars.

GauGau

dodgy


dodgy

Ah, sorry. Were these the right values to show you?

_SERVER["DOCUMENT_ROOT"]   /home/clients/chris/doublebogieboogie.com
_SERVER["HTTP_ACCEPT"]   text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_CHARSET"]   ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_ACCEPT_ENCODING"]   gzip,deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"]   en-us,en;q=0.5
_SERVER["HTTP_CONNECTION"]   keep-alive
_SERVER["HTTP_COOKIE"]   cpg11d_uid=1; cpg11d_data=YTozOntzOjI6IklEIjtzOjMyOiJjOTVjZTUwZmE3NGI3YjRiNjE5MmRiMGRhZmZlYzI1ZCI7czoyOiJhbSI7aToxO3M6MzoibGl2IjthOjI6e2k6MDtzOjE6IjEiO2k6MTtzOjE6IjMiO319; cpg11d_pass=2aeda0264d253295ac61ac25c15ce661
_SERVER["HTTP_HOST"]   www.doublebogieboogie.com
_SERVER["HTTP_KEEP_ALIVE"]   300
_SERVER["HTTP_REFERER"]   http://forum.coppermine-gallery.net/index.php?topic=8151.new;topicseen
_SERVER["HTTP_USER_AGENT"]   Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a2) Gecko/20040711 Firefox/0.9.0+
_SERVER["PATH"]   /bin:/usr/bin
_SERVER["REMOTE_ADDR"]   217.44.244.98
_SERVER["REMOTE_PORT"]   3457
_SERVER["SCRIPT_FILENAME"]   /home/clients/chris/doublebogieboogie.com/gallery/phpinfo.php
_SERVER["SERVER_ADDR"]   81.91.108.180
_SERVER["SERVER_ADMIN"]   webmaster@pengus.net
_SERVER["SERVER_NAME"]   www.doublebogieboogie.com
_SERVER["SERVER_PORT"]   80
_SERVER["SERVER_SIGNATURE"]   <ADDRESS>Apache/1.3.31 Server at www.doublebogieboogie.com Port 80</ADDRESS>
_SERVER["SERVER_SOFTWARE"]   Apache/1.3.31
_SERVER["SHAPVH_HOST"]   www.doublebogieboogie.com
_SERVER["UNIQUE_ID"]   QP6bcFFbbLQAAEX2TOA
_SERVER["GATEWAY_INTERFACE"]   CGI/1.1
_SERVER["SERVER_PROTOCOL"]   HTTP/1.1
_SERVER["REQUEST_METHOD"]   GET
_SERVER["QUERY_STRING"]   no value
_SERVER["REQUEST_URI"]   /gallery/phpinfo.php
_SERVER["SCRIPT_NAME"]   /gallery/phpinfo.php
_SERVER["SCRIPT_URL"]   /gallery/phpinfo.php
_SERVER["PATH_TRANSLATED"]   /home/clients/chris/doublebogieboogie.com/gallery/phpinfo.php
_SERVER["PATH_INFO"]   /gallery/phpinfo.php
_SERVER["REDIRECT_SCRIPT_URL"]   /gallery/phpinfo.php
_SERVER["REDIRECT_STATUS"]   200
_SERVER["REDIRECT_URL"]   /gallery/phpinfo.php
_SERVER["PHP_SELF"]   /gallery/phpinfo.php
_SERVER["argv"]   

Array
(
)

_SERVER["argc"]   0

Joachim Müller

OK, try this: edit usermgr.php, find<form method="post" action="$PHP_SELF?op=new_user">and replace with<form method="post" action="usermgr.php?op=new_user">and replace <form method="post" action="$PHP_SELF?op=update&user_id=$user_id">with<form method="post" action="usermgr.php?op=update&user_id=$user_id">Please report if this helps.

GauGau

P.S. No, I can't access http://www.doublebogieboogie.com/gallery/phpinfo.php - since it contains sensitive information, it is only visible for you as gallery admin.

dodgy

Hi,

I can now add a user (thanks!)

I added 'test4' as the username.

If I click 'Edit', i get the message 'Username must be 2 characters long minimum'. The link is:
http://www.doublebogieboogie.com/gallery/usermgr.php?op=update&user_id=13?op=edit&user_id=13

But if I reload the page then the edit button works:
http://www.doublebogieboogie.com/gallery/usermgr.php?op=edit&user_id=13

Joachim Müller

you seem to have a rather strange server setup. Are you on a free webhost, or a budget one?

GauGau

dodgy

No, it's hosted at a large ISP - but it's not the commercial server. It's pretty locked-down.

Joachim Müller

hm, little advice I could possible think of, except "change your webhost"..., sorry.

GauGau

dodgy

It's not problem - with the advice you've given me above it's perfectly usable - I'll just remember the few 'quirks'.

Thanks again for the assistance  :)