FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » install.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
install.php [message #29150] Thu, 01 December 2005 21:05 Go to next message
JanRei is currently offline  JanRei   Germany
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #29168 is a reply to message #29150] Fri, 02 December 2005 16:30 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
OK, could you give me a (short) instruction how to do it?
Re: install.php [message #29169 is a reply to message #29168] Fri, 02 December 2005 16:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile//README

FUDforum Core Developer
Re: install.php [message #29196 is a reply to message #29150] Sat, 03 December 2005 08:27 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #29243 is a reply to message #29150] Mon, 05 December 2005 17:24 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I don't know exactly what you mean, but I attached the file.
Re: install.php [message #29252 is a reply to message #29243] Mon, 05 December 2005 19:49 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #29253 is a reply to message #29150] Mon, 05 December 2005 19:55 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
And what do you propose for solving this?
Re: install.php [message #29258 is a reply to message #29253] Mon, 05 December 2005 21:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #29302 is a reply to message #29150] Sat, 10 December 2005 09:31 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I solved this by changing the separator to ;\r.

Although I had some problems with downloading images from CVS, the forum is working fine now.
Re: install.php [message #29453 is a reply to message #29150] Wed, 21 December 2005 15:52 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #29471 is a reply to message #29150] Thu, 22 December 2005 09:25 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
Now it is PHP 5.1.1-1.dotdeb.2
Re: install.php [message #29477 is a reply to message #29471] Thu, 22 December 2005 15:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Astoria is currently offline  Astoria   United States
Messages: 227
Registered: April 2004
Karma: 0
Senior Member
Ilia wrote on Fri, 02 December 2005 08:35

http://cvs.prohost.org/c/index.cgi/FUDforum/getfile//README

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 #29890 is a reply to message #29867] Mon, 23 January 2006 14:37 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This was fixed.

FUDforum Core Developer
Re: install.php [message #30392 is a reply to message #29150] Wed, 22 February 2006 13:35 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I'm sorry for letting you wait. But I had not very much time.
I tried to do a complete new attempt to install the forum. Now I'm getting a different error:

Quote:


Warning: fread() [function.fread]: Length parameter must be greater than 0 in /srv/www/httpd/phost/h/de/pytalhost/hp-film/web/install_safe.php on line 523

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate -1294515856 bytes) in /srv/www/httpd/phost/h/de/pytalhost/hp-film/web/install_safe.php on line 523



As already said in my post above, my ISP changed the whole server configuration. In case you want to see the PHP configuration, you can find it here.
Re: install.php [message #30396 is a reply to message #30392] Wed, 22 February 2006 15:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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
 efd2b71db259af9


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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #31153 is a reply to message #29150] Wed, 05 April 2006 13:44 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I'm quite novice with using CVS and I've problems with downloading images from CVS with a cvs tool.
The images (i.e. smilies, localisied buttons) are corrupted.

For example my tree_view.gif looks like this:
index.php?t=getfile&id=2440&private=0


Thank you for you help.
  • Attachment: tree_view.gif
    (Size: 1.07KB, Downloaded 2407 times)
Re: install.php [message #31172 is a reply to message #31153] Thu, 06 April 2006 02:51 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #31180 is a reply to message #29150] Thu, 06 April 2006 12:34 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I tried it with the cvs command line tool downloaded from http://www.nongnu.org/cvs/ and TortoiseCVS.
Re: install.php [message #31194 is a reply to message #31180] Fri, 07 April 2006 00:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #31353 is a reply to message #29150] Tue, 18 April 2006 17:05 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I checked out the whole fud21_install tree. I noticed that the broken images are marked with ASCII format, could this be the problem?
Re: install.php [message #31357 is a reply to message #31353] Tue, 18 April 2006 19:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 #31388 is a reply to message #29150] Thu, 20 April 2006 09:44 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
Only a small problem: You can't see the changes between two versions in web CVS.
Re: install.php [message #31390 is a reply to message #31388] Thu, 20 April 2006 13:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed now.

FUDforum Core Developer
Re: install.php [message #31395 is a reply to message #29150] Thu, 20 April 2006 17:04 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
There are still some files with binary flag left. I found the following:
  • files in forum_data/scripts/
  • files in forum_data/sql/
  • forum_data/include/GLOBALS.php
  • files in www_root/adm/
  • FAQ files
Re: install.php [message #31396 is a reply to message #31395] Thu, 20 April 2006 20:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Should be ok now as well.

FUDforum Core Developer
Re: install.php [message #31404 is a reply to message #29150] Fri, 21 April 2006 08:55 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
Indeed. Everthing fine now. Razz
Re: install.php [message #31525 is a reply to message #29150] Wed, 03 May 2006 16:06 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
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

Re: install.php [message #32457 is a reply to message #29150] Sat, 01 July 2006 14:24 Go to previous messageGo to next message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
Ilia, the .png images lost the binary flag, could you set it?
Re: install.php [message #32466 is a reply to message #32457] Sun, 02 July 2006 13:36 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Should be ok now.

FUDforum Core Developer
Re: install.php [message #32630 is a reply to message #29150] Wed, 12 July 2006 05:13 Go to previous messageGo to previous message
JanRei is currently offline  JanRei   Germany
Messages: 361
Registered: October 2005
Location: Germany
Karma: 0
Senior Member
Contributing Core Developer
Translator
I have still problems with the png images in install\forum_data\thm\default\images
Pages (2): [1  2    »]  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: I have some small problems
Next Topic: PHP not talking to MySQL
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Jun 01 08:45:23 GMT 2024

Total time taken to generate the page: 0.05184 seconds