coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: eagle on February 09, 2005, 03:39:23 AM

Title: Warning: fread(): Length parameter must be greater than 0
Post by: eagle on February 09, 2005, 03:39:23 AM
I have already read the posts to similar problems in this forum... so I´ve already tried the answers, too. I uploaded all files!
But I still get following errors (with version 1.2.0final AND version 1.3.2)...

What can I to do?

***
Warning: fread(): Length parameter must be greater than 0. in /mnt/am2/02/869/00000003/htdocs/fotos/cpg120f/install.php on line 408

Warning: fread(): Length parameter must be greater than 0. in /mnt/am2/02/869/00000003/htdocs/fotos/cpg120f/install.php on line 411

Fatal error: Call to undefined function: remove_remarks() in /mnt/am2/02/869/00000003/htdocs/fotos/cpg120f/install.php on line 426
***
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: Nibbler on February 09, 2005, 02:10:15 PM
Link to your site please.
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: eagle on February 09, 2005, 04:22:17 PM
www.ju-wickede.de/cpg132/install.php

now with coppermine 1.3.2 and chmod = 755:

***
Warning: fread(): Length parameter must be greater than 0. in /mnt/am2/02/869/00000003/htdocs/cpg132/install.php on line 427

Warning: fread(): Length parameter must be greater than 0. in /mnt/am2/02/869/00000003/htdocs/cpg132/install.php on line 430

Fatal error: Call to undefined function: remove_remarks() in /mnt/am2/02/869/00000003/htdocs/cpg132/install.php on line 445
***

Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: Nibbler on February 09, 2005, 04:26:29 PM
Your sql directory isn't there !

http://www.ju-wickede.de/cpg132/sql/
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: eagle on February 09, 2005, 04:46:40 PM
it is there... my ftp-programm shows the folder sql with 3 files in it:

basic.sql
schema.sql
update.sql
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: Tranz on February 09, 2005, 09:01:31 PM
I think it was supposed to have given a 403 error instead since indexing is probably turned off. The files are there.
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: eagle on February 09, 2005, 09:47:26 PM
ok, but what is wrong?

do you know what I have to do now?
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: Tranz on February 09, 2005, 09:51:11 PM
Oh, the files are empty. When I had looked at them, they were there but blank, and I thought it was a security feature. Now that I have looked at mine, the sql files should not be blank. You need to re-upload the sql files.
Title: Re: Warning: fread(): Length parameter must be greater than 0
Post by: eagle on February 09, 2005, 10:40:38 PM
hey, thank you!!!!!

you´ve been right... the ftp-programme always canceled the upload but didn´t say that...
the reason was so simple: quota exceeded!!

ok, thank you all for your help !!!!!

bye