Charset install on Brinkster.com issue....1st hurdle Charset install on Brinkster.com issue....1st hurdle
 

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]

Main Menu

Charset install on Brinkster.com issue....1st hurdle

Started by Doots, June 21, 2006, 06:36:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Doots

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

Vargha

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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Tranz

Quote from: Vargha on June 21, 2006, 06:41:34 PM
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?

Doots

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

Sami

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

Doots

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

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

Doots

Sami

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

Doots

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

Sami

- 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
‍I don't answer to PM with support question
Please post your issue to related board

Doots

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

Sami

#10
- 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
MySQL said: Can't connect to MySQL server on 'localhost' (10061)
‍I don't answer to PM with support question
Please post your issue to related board

Doots

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





Doots

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', '$/\\\\:*?"\'<>|` &')'

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

Doots

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

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

Doots

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

Sami

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
‍I don't answer to PM with support question
Please post your issue to related board

Doots

fair enough, it's all working now anyway.... thanks for your help