Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [Solved]: 1.3.0 Create User problem  (Read 6107 times)

0 Members and 1 Guest are viewing this topic.

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
[Solved]: 1.3.0 Create User problem
« on: July 21, 2004, 05:54:27 pm »

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
« Last Edit: July 22, 2004, 10:02:29 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 3.01 Create User problem
« Reply #1 on: July 21, 2004, 06:21:31 pm »

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
Logged

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: 3.01 Create User problem
« Reply #2 on: July 21, 2004, 06:28:16 pm »

Hi,

Here's the gallery: http://www.doublebogieboogie.com/gallery/

I guess you can get the server vars from http://www.doublebogieboogie.com/gallery/phpinfo.php ?

Thanks for the reply ..
Logged

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: 3.01 Create User problem
« Reply #3 on: July 21, 2004, 06:37:21 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 3.01 Create User problem
« Reply #4 on: July 21, 2004, 06:45:07 pm »

OK, try this: edit usermgr.php, find
Code: [Select]
<form method="post" action="$PHP_SELF?op=new_user">and replace with
Code: [Select]
<form method="post" action="usermgr.php?op=new_user">and replace
Code: [Select]
<form method="post" action="$PHP_SELF?op=update&user_id=$user_id">with
Code: [Select]
<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.
Logged

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: 3.01 Create User problem
« Reply #5 on: July 21, 2004, 06:55:08 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 3.01 Create User problem
« Reply #6 on: July 22, 2004, 09:35:19 am »

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

GauGau
Logged

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: 3.01 Create User problem
« Reply #7 on: July 22, 2004, 09:38:46 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 3.01 Create User problem
« Reply #8 on: July 22, 2004, 09:50:50 am »

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

GauGau
Logged

dodgy

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: 3.01 Create User problem
« Reply #9 on: July 22, 2004, 09:56:14 am »

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  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 20 queries.