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: Charset install on Brinkster.com issue....1st hurdle  (Read 6588 times)

0 Members and 1 Guest are viewing this topic.

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Charset install on Brinkster.com issue....1st hurdle
« on: June 21, 2006, 06:36:19 pm »

Hello,

I discovered Coppermine today and have been trying to get it working with Brinkster for about 6 hours.....

I am on the intial installation and I get the following message.....





mySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';>|` &')' at line 1 on query ' INSERT INTO cp3_config VALUES ('forbiden_fname_char', '$/\\\\:*?"\'<>|` &')'...


I can see what is wrong with the SQL, and I've attempted to edit the PHP (new to this today also), to no avail, can one of you Coppermine addicts out there please let me know what I need to do in order to get this working....

Also at the top of the rendered install.php is this message,

File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2) Character set '#33' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file

Which looks like it has something to do with it, I've tried messing around with the UTF-8 char set.... but again no luck...

Help

Thanks

Doots
« Last Edit: June 23, 2006, 04:41:36 pm by TranzNDance »
Logged

Vargha

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 223
  • Persian Soldier
    • Rangarang
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #1 on: June 21, 2006, 06:41:34 pm »

r u self hosted?
Logged
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #2 on: June 22, 2006, 07:08:43 am »

r u self hosted?
Brinkster is a webhost.

Doots, does brinkster meet the requirements for running Coppermine? Have you searched the brinkster forums to see if anyone else had trouble installing coppermine? Where did you get the coppermine files from? How did you download it?
Logged

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #3 on: June 22, 2006, 10:29:25 am »

Yes it does, well PHP and MySQL are greater versions than the what's needed.... I got the Coppermine files from Sourceforge.

http://sourceforge.net/project/showfiles.php?group_id=89658

The 1.4.8 release.

I've had a look through the Brinkster forums and can't see anything anyone whose having a problem...

Cheers for any help.

Doots
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #4 on: June 22, 2006, 10:46:13 am »

would you please post a link to your installation folder ?
I think there are not regular CPG files.
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #5 on: June 22, 2006, 11:00:26 am »

http://dootlands.brinkster.net/Copper/

I downloaded the files from the download link on the CPG home page.... nothing different at all....

Doots
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #6 on: June 22, 2006, 11:06:50 am »

there should be a basic.sql file under your sql folder but it seems it's empty !!!
did you delete it ?
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #7 on: June 22, 2006, 11:13:27 am »

It's there, but you don't have rights to see it, The Readme.html file in the Doc directory said that only...

"include", "albums", "albums/userpics", and "albums/edit" directories to 777.....

Nothing about the SQL directory... attached is my Basic.sql file (changed to .txt so I can attach)... nothing altered from download

Doots
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #8 on: June 22, 2006, 11:21:13 am »

- I don't get forbiden error ! i got 404 not found error !
- your attached file is fine .
but now you have "Fatal error " .
I think that you are trying new installation ...so I'm waiting
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #9 on: June 22, 2006, 11:24:31 am »

Sorry, don't quite understand?

I'm in the middle of the installation when I get the error I posted about..... so what are you waiting for?

Doots
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #10 on: June 22, 2006, 11:33:20 am »

- as I said before I got 404 Not Found error (it means the file is not there) not Forbiden !
- double check your sql directory , do you have "basic.sql" , "schema.sql" & "update.sql" out there ?
- when I checked your site , I saw fatal error  about db and now I see "Unable to connect to database " error, so I see that you are giong to install or modify somthing , so I'm waiting for your installation to be compelete or ....

Update:You have MySql server Issue
Code: [Select]
MySQL said: Can't connect to MySQL server on 'localhost' (10061)
« Last Edit: June 22, 2006, 11:40:21 am by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #11 on: June 22, 2006, 11:53:22 am »

I have re checked the directory and the all three files are there.
I put a basic.txt file in that directory (along with the 3 .sql files) and you can see it... it is there, I don't know why it doesn't show up...

http://dootlands.brinkster.net/Copper/sql/basic.txt

All 3 files are there.

I have deleted the partially installed app (Hence the reason you get, can't connect), I can try and run the http://dootlands.brinkster.net/Copper/install.php again, but this will only get to the error I first installed...

What would you like me to do?

Partially run the install.php again?

Doots




Logged

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #12 on: June 22, 2006, 11:54:31 am »

Just run  it and I get the same as before....

mySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';>|` &')' at line 1 on query ' INSERT INTO cp_config VALUES ('forbiden_fname_char', '$/\\\\:*?"\'<>|` &')'
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #13 on: June 22, 2006, 11:57:21 am »

in what stage you've got that error ? in the beginning of installation?

update:check this out:
http://dootlands.brinkster.net/Copper/index.php
no error for me
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #14 on: June 22, 2006, 11:58:57 am »

yes in the begining.....

I've just edited this line....

INSERT INTO CPG_config VALUES ('forbiden_fname_char', '$/\\\\:*?&quot;\&lt;&gt;|');

I've put the ' where they should be, ie at the begin and end of the string...... and now it works....

Doots
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #15 on: June 22, 2006, 12:03:49 pm »

okey now go to:
admin mode=>config=>Files and thumbnails advanced settings=>Characters forbidden in filenames
and the value should be "$/\\:*?"'<>|` &" (without "") if it's not please add this to value
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #16 on: June 22, 2006, 12:31:19 pm »

all done..... does this need changing in the basic.sql? 
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #17 on: June 22, 2006, 12:43:22 pm »

No!
this is the first time this happen
- did you checked "Characters forbidden in filenames" , specialy "single quotes sign"=> ' should be there
- I think your server has some security mod and that was the issue
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Doots

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: Charset install on Brinkster.com issue....1st hurdle
« Reply #18 on: June 23, 2006, 04:17:37 pm »

fair enough, it's all working now anyway.... thanks for your help
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.