install.php [message #29150] |
Thu, 01 December 2005 21:05 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
I can't install FUDforum on my server.
The installer with zlib doesn't pass the checksum test, and the installer without zlib is too big for uploading on the server.
(upload_max_filesize=2M)
Therefore I want to ask whether you can give me an archive with the files not integrated in one single file (install.php).
|
|
|
Re: install.php [message #29157 is a reply to message #29150] |
Fri, 02 December 2005 15:22 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can make it yourself from the CVS.
FUDforum Core Developer
|
|
|
|
|
Re: install.php [message #29196 is a reply to message #29150] |
Sat, 03 December 2005 08:27 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
Thank you, this worked fine.
But now I am at Step 2 and I get the following error message:
Quote: | Failed to import default data ("INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_redface.gif','Embarassed',':blush:',1); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_razz.gif','Razz',':P~:-P~:razz:',2); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_mad.gif','Mad',':x~:-x~:mad:',3); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_lol.gif','Laughing',':lol:',4); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_cool.gif','Cool','8)~8-)~:cool:',5); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_confused.gif','Confused',':?~:-?~:???:',6); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_eek.gif','Shocked','8O~8-O~:shock:',7); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_surprised.gif','Surprised',':o~:-o~:eek:',8); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_sad.gif','Sad',':(~:-(~:sad:',9); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_smile.gif','Smile',':)~:-)~:smile:',10); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_biggrin.gif','Very Happy',':D~:-D~:grin:',11); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_cry.gif','Crying or Very Sad',':cry:~:((~:-((',12); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_evil.gif','Evil or Very Mad',':evil:',13); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_twisted.gif','Twisted Evil',':twisted:',14); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_rolleyes.gif','Rolling Eyes',':roll:',15); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_wink.gif','Wink',';)~;-)~:wink:',16); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_exclaim.gif','Exclamation',':!:',17); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_question.gif','Question',':?:',18); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_idea.gif','Idea',':idea:',19); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_arrow.gif','Arrow',':arrow:',20); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_neutral.gif','Neutral',':|~:-|~:neutral:',21); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_mrgreen.gif','Grin',':]~:-]~:brgin:',22); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_dead.gif','Dead','x(~:dead:',23); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_frown.gif','Frown',':frown:',24); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_nod.gif','Nod',':nod:',25); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_proud.gif','Proud',':proud:',26); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_smug.gif','Smug',':smug:',27); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_thumbsup.gif','Thumbs Up',':thumbup:',28); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_thumbdown.gif','Thumbs Down',':thumbdown:',29); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_uhoh.gif','Uh Oh',':uhoh:',30); INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_yawn.gif','Bored',':yawn:',31);") into table def_smiley, SQL Reason: 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 '; INSERT INTO fud26_smiley (img, descr, code, vieworder) VALUES ('icon_razz.gif'' at line 1
|
I am using MySQL 4.1.15-Debian_0.dotdeb.1 and PHP 5.0.5-1.dotdeb.1.
Do you know how to solve this?
[Updated on: Sun, 04 December 2005 18:45] Report message to a moderator
|
|
|
Re: install.php [message #29238 is a reply to message #29196] |
Mon, 05 December 2005 16:17 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Does the def_smiley.sql file inside the sql/ directory create by the forum contain new lines?
FUDforum Core Developer
|
|
|
|
Re: install.php [message #29252 is a reply to message #29243] |
Mon, 05 December 2005 19:49 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The error you are seeing implies that the installer took the file and was unable to split it into separate queries by using ;\n as a separator. While the file looks to be OK based on your attachment, inability to perform this split is the only thing that can explain this problem.
FUDforum Core Developer
|
|
|
|
Re: install.php [message #29258 is a reply to message #29253] |
Mon, 05 December 2005 21:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Can you add debug code to the installer around line 898 and see why it fails to split the file.
FUDforum Core Developer
|
|
|
|
Re: install.php [message #29453 is a reply to message #29150] |
Wed, 21 December 2005 15:52 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
I'm sorry, but due to changes of the server configuration by my ISP I have to reinstall FUDforum.
When I run install.php I get the following after step 1:
Quote: | Failed getting archive size from 6xÚì½t#I’
|
[Updated on: Wed, 21 December 2005 15:53] Report message to a moderator
|
|
|
Re: install.php [message #29460 is a reply to message #29453] |
Wed, 21 December 2005 23:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What version of PHP are you running?
FUDforum Core Developer
|
|
|
|
Re: install.php [message #29477 is a reply to message #29471] |
Thu, 22 December 2005 15:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Are you using compressed or non-compressed version? Try using both.
FUDforum Core Developer
|
|
|
Re: install.php [message #29479 is a reply to message #29150] |
Thu, 22 December 2005 17:18 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
I'm using the compressed version (made from CVS).
But I can't try the uncompressed version, because it would exceed the upload limitation of 2M.
I'm quite sure that this error comes from the changings in the server configuration by my ISP, because I hadn't this problem before it.
But what could my ISP have changed causing this error message?
[Updated on: Thu, 22 December 2005 17:25] Report message to a moderator
|
|
|
Re: install.php [message #29486 is a reply to message #29479] |
Fri, 23 December 2005 15:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can compress the uncompressed install.php, upload it and then decompress it on the server, thus bypassing the 2M file limit.
FUDforum Core Developer
|
|
|
Re: install.php [message #29867 is a reply to message #29169] |
Sat, 21 January 2006 18:02 |
|
Astoria
Messages: 227 Registered: April 2004
Karma: 0
|
Senior Member |
|
|
Hello,
I was interested in reading the cvs instructions but when I try to load the link I get the message:Quote: |
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
|
Addendum: I am also getting this message when I try to bring up the changelog from the download page; I guess something must be going on with the cvs.
[Updated on: Sat, 21 January 2006 18:05] Report message to a moderator
|
|
|
|
|
Re: install.php [message #30396 is a reply to message #30392] |
Wed, 22 February 2006 15:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Is there a fudforum_archive file inside the install directory and is so, what are the 1st 10 bytes in that file?
FUDforum Core Developer
|
|
|
Re: install.php [message #30414 is a reply to message #29150] |
Thu, 23 February 2006 18:17 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
Yes, the fudforum_archive is there (size: 1.37M). Unfortunately I don't know how to determine the first 10 bytes of a file so I opened the file with a hex editor. Here is the beginning:
0A65 6664 3262 3731 6462 3235 3961 6639 or in windows charset
EDIT:
I noticed that the first char of the archive was carriage return, I deleted it and the forum is running fine now.
Thank you for the hint.
[Updated on: Fri, 24 February 2006 12:53] Report message to a moderator
|
|
|
Re: install.php [message #30430 is a reply to message #30414] |
Fri, 24 February 2006 18:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The 1st 10 bytes are supposed to contain the size of the archive, if \r got in there somehow it would cause miscalculation, resulting in the error you were seeing.
FUDforum Core Developer
|
|
|
|
Re: install.php [message #31172 is a reply to message #31153] |
Thu, 06 April 2006 02:51 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Are you using the cvs binary or some other cvs client?
FUDforum Core Developer
|
|
|
|
Re: install.php [message #31194 is a reply to message #31180] |
Fri, 07 April 2006 00:55 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Did you checkout the entire FUDforum tree or just the broken file?
FUDforum Core Developer
|
|
|
|
Re: install.php [message #31357 is a reply to message #31353] |
Tue, 18 April 2006 19:48 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I set a binary flag on all image files, try it now.
FUDforum Core Developer
|
|
|
Re: install.php [message #31369 is a reply to message #29150] |
Wed, 19 April 2006 10:19 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
Great, the images are being displayed correctly now.
But why does some other files (e.g. lib.js) have the binary flag too?
[Updated on: Wed, 19 April 2006 10:30] Report message to a moderator
|
|
|
Re: install.php [message #31384 is a reply to message #31369] |
Wed, 19 April 2006 20:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Not sure, but I don't think this poses a problem.
FUDforum Core Developer
|
|
|
|
|
|
|
|
Re: install.php [message #31525 is a reply to message #29150] |
Wed, 03 May 2006 16:06 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma: 0
|
Senior Member Contributing Core Developer Translator |
|
|
Hi, I want to upgrade my forum to latest CVS version, but upgrade.php gives me an error message:
Parse error: syntax error, unexpected ',' in /srv/www/httpd/phost/h/de/pytalhost/hp-film/web/forum/upgrade.php on line 142
I am using PHP 5.1.3
EDIT: Solved.
[Updated on: Wed, 17 May 2006 18:13] Report message to a moderator
|
|
|
|
|
|