File Center not working

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mikepkp17
Posts: 15
Joined: Mon 13. Feb 2006, 14:14

File Center not working

Post by mikepkp17 »

Hi,

I've installed the latest version 1.4.1 r307 and the galleryx mod (which can be found here in the forum). Now I want to add a folder in file central which just gives me an error message: "error while writing new dir info"

The database is a MySQL 5.0.32

I would apprechiate any pointers to track down this problem because I need a gallery.

If more information is needed please ask.

Kind regards
Mike
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: File Center not working

Post by juergen »

Hmm, the script has nothing to do with the filecenter.... is the disk quota / space quota of your account reached ? Is the last image you did upload shown as Thumb ?
mikepkp17
Posts: 15
Joined: Mon 13. Feb 2006, 14:14

Re: File Center not working

Post by mikepkp17 »

Hi, thank you for your answer.

There is no quota in place so no problems there. I have not tried uploading a picture without creating a folder, I will try that later today.

regards, Mike
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: File Center not working

Post by flip-flop »

Mhh, that is an error comming from mySQL. (file: \include\inc_tmpl\files.private.newdir.tmpl.php lie 69).

The mysql right management is ok?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
mikepkp17
Posts: 15
Joined: Mon 13. Feb 2006, 14:14

Re: File Center not working

Post by mikepkp17 »

hm, can you pinpoint that to a special right on a special table? If so I can ask my DB-Admin to change the rights accordingly.
The installation of phpwcms did run without errors...

regards, Mike
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: File Center not working

Post by flip-flop »

Then the mySQL user rights are ok.

I think it is a bad file or a table is lost.
Load up the folder

/include/inc_act/*
/include/inc_front/*
/include/inc_lib/*
/include/inc_tmpl/*

again.

Have a look into the db via phpmyAdmin for the table "phpwcms_file".
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
mikepkp17
Posts: 15
Joined: Mon 13. Feb 2006, 14:14

Re: File Center not working

Post by mikepkp17 »

Hi,

the table phpwcms_file exists, I have an overall of 45 tables.
I will try to upload the folders you mentioned and give it another try.

regards, Mike
mikepkp17
Posts: 15
Joined: Mon 13. Feb 2006, 14:14

Re: File Center not working

Post by mikepkp17 »

Hi,

for your information: I solved the problem, it was a missing column in table phpwcms_file, namely f_sort. This column is added with the upgrade_script from v1.4 to 1.5 and it seems that the problem was, that i am using a table name prefix. So the upgrade script obviously ran with errors (which I missed, shame on me ;-) ).

Nevertheless, thank you for your help.

Kind Regards
Mike
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: File Center not working

Post by baklavoni »

Hello to all.
I will continue to write in this topic since i have the same problem.
While trying to create folder in file center, i got error: error while writing new dir info

Also if I try to upload picture, i have error: error while insert file information
and same error is when trying to upload via ftp takeover.

My version of phpwcms is 1.4.1 r307

Here is details of my hosting:
WWW server: Microsoft-IIS/6.0
PHP version: 5.2.2
MySQL version: 5.0.22
PHP settings
register_globals On (should always be set Off)
safe_mode Off (check information about security risks)
GD2 bundled (2.0.34 compatible)
Image types supported: GIF/ PNG/ JPG

Please help. Thank you.
There is no page like home page...
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: File Center not working

Post by Jensensen »

i guess that this maybe is a problem concerning the "cryptic" filenames when your character set is any other than utf-8.

i'm using 1.4.2 (r312) with utf and i have no problem adding subfolders like
"Hüß///--llÖÖ ääük&%&GGGf 88"

[surprisingly it can contain spaces and even ampersands !!!]

to root or elsewhere.

otherwise it will be a problem during update¿
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: File Center not working

Post by juergen »

;)

I guess the problem is born here :
WWW server: Microsoft-IIS/6.0
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: File Center not working

Post by baklavoni »

Jensensen wrote:i guess that this maybe is a problem concerning the "cryptic" filenames when your character set is any other than utf-8.
Hmm, it is already set to utf-8, so problem is elsewhere...
DF6IH wrote:;)

I guess the problem is born here :
WWW server: Microsoft-IIS/6.0
I think also. This is my first Windows based hosting, and until now, I had a lot of problems with installing and configuring phpwcms.
On linux servers, I never had any problem (and also i prefer Linux :) ).

But still no solution?
There is no page like home page...
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: File Center not working

Post by baklavoni »

I have found this in phpmyadmin:

Your PHP MySQL library version 5.0.22 differs from your MySQL server version 5.1.34. This may cause unpredictable behavior.

Maybe this is the reason for problem(s)?
There is no page like home page...
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: File Center not working

Post by baklavoni »

[SOLVED] Hosting switched to Linux server :)
There is no page like home page...
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: File Center not working

Post by juergen »

:lol: My regards and congratulations ! Half costs !
Post Reply