Error while counting user files

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Error while counting user files

Post by sustia »

Hi, when I try to open the file center I receive the error "error while counting user files", and if I try to upload a new file the error is "error while insert file information".

I asked to my administrator and he send me the errors he found:

Code: Select all

[17-Aug-2010 11:40:59] PHP Warning:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /raid0/web/cnr/guest/noria/docs/include/inc_lib/files.create.dirmenu.inc.php on line 32
[17-Aug-2010 11:40:59] PHP Warning:  mysql_free_result(): supplied argument is not a valid MySQL result resource in /raid0/web/cnr/guest/noria/docs/include/inc_lib/files.create.dirmenu.inc.php on line 39
The PHP Version is 4.3.8, and MySQL is: Client API version: 4.0.21


Any idea?
Campeones del mundo!
Vegetables!
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Error while counting user files

Post by juergen »

Hi ;)

did you check phpwcms_file table is not corrupted ?
User avatar
sustia
Posts: 651
Joined: Fri 2. Apr 2004, 22:29
Location: Lecce (Italy)
Contact:

Re: Error while counting user files

Post by sustia »

DF6IH wrote:Hi ;)

did you check phpwcms_file table is not corrupted ?
Hi DF6IH, that's it, thanks for the hint!

I wrote to my administrator and now all works fine :D
Campeones del mundo!
Vegetables!
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Error while counting user files

Post by culda_a »

How can I solve this error? error while counting user files

what should i do to fix it?

thank you
ImagePackging design,labels, catalogs,postcards,
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Error while counting user files

Post by update »

How many files do you have there?
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Error while counting user files

Post by culda_a »

I dont know how many files are ... when i try to upload pictures i see this message in Files section.
ImagePackging design,labels, catalogs,postcards,
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Error while counting user files

Post by culda_a »

In phpwcms_file I have the error below:

Code: Select all

Eroare
Comanda SQL: 

SHOW FULL FIELDS FROM  `phpwcms_file` ;


MySQL zice: 

#145 - Table './stephany_stephany/phpwcms_file' is marked as crashed and should be repaired 
How do i fix this?
ImagePackging design,labels, catalogs,postcards,
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Re: Error while counting user files

Post by culda_a »

Well it seams that i had only to repair the database.
ImagePackging design,labels, catalogs,postcards,
Post Reply