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: access and permissions  (Read 7763 times)

0 Members and 1 Guest are viewing this topic.

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
access and permissions
« on: December 09, 2005, 12:36:58 am »

ALMOST got my gallery working perfectly :) yayaya

slowly getting each error solved thanks to you guys ;)

ok i get this error below when i log into my admin account but i can still access everything so this one is no biggie
Error
You don't have permission to access this page.

 

However when a new user tried to register this is the error they recieve
Critical error
There was an error while processing a database query 


any ideas?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: access and permissions
« Reply #1 on: December 09, 2005, 08:09:16 am »

enable debug_mode for everyone in coppermine's config, then reproduce the error and post the actual error message (not the debug output). A link might help as well.
Logged

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: access and permissions
« Reply #2 on: December 10, 2005, 03:55:49 am »

Thankyou

here is the link
http://asphyxiia.com/pics/

and enabled debug mode
here is error message :)

Critical error

There was an error while processing a database query.


While executing query "INSERT INTO cpg_users (user_regdate, user_active, user_actkey, user_name, user_password, user_email, user_location, user_interests, user_website, user_occupation) VALUES (NOW(), 'NO', '7b786b9d653a635fe27e4b00db1db372', 'Mystrice', 'lXXXXX', 'pyrogenetic@hotmail.com', '', '', '', '' )" on 0

mySQL error: Unknown column 'user_location' in 'field list'



File: /data/home/asphyxii/public_html/pics/include/functions.inc.php - Line: 105
 

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: access and permissions
« Reply #4 on: December 12, 2005, 07:53:03 am »

okies i read your thread link and nothing there has helped  :(

Anyone suggest any ideas on how i can get my users to be able to register ;) yayaya
Logged

Nibbler

  • Guest
Re: access and permissions
« Reply #5 on: December 12, 2005, 11:15:34 am »

Logged

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: access and permissions
« Reply #6 on: December 13, 2005, 02:06:03 am »

well i didnt downgrade, i upgraded.

i guess i can try it... where do i find that code i have to change?

they get the form to fill out, the location and website fields are there unlike the person in this thread. its just when they hit the final button at the bottom to register they get this message

Critical error

There was an error while processing a database query.


While executing query "INSERT INTO cpg_users (user_regdate, user_active, user_actkey, user_name, user_password, user_email, user_location, user_interests, user_website, user_occupation) VALUES (NOW(), 'NO', '7b786b9d653a635fe27e4b00db1db372', 'Mystrice', 'lXXXXX', 'pyrogenetic@hotmail.com', '', '', '', '' )" on 0

mySQL error: Unknown column 'user_location' in 'field list'



File: /data/home/asphyxii/public_html/pics/include/functions.inc.php - Line: 105


is it in the functions.inc.php??

ack im so confused.. i dont even think i know what im talking about /laugh
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: access and permissions
« Reply #7 on: December 13, 2005, 08:28:09 am »

Read the thread Nibbler has refered to.
Logged

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: access and permissions
« Reply #8 on: December 17, 2005, 12:47:50 am »

that thread didnt make any sense to me :) i dont know where to find that file that im supposed to change or what its even called.

that thread also suggests that that person downgraded from on version to another.. i didnt do that am i still supposed to change some code in some file??

thanks

need to tell me in lamans terms i really have no clue and am learning through you guys' patience and guidance
Logged

asphyxiia

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: access and permissions
« Reply #9 on: December 22, 2005, 12:48:49 am »

I dont understand exactly what it is im supposed to do...

and to what file or where it is.. can you please tell me?
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 22 queries.