Форумы / Cotonti / Support / PFS was working, not working anymore

DemptD
#1 16.03.2009 18:34
The PFS was working fine and now its not working.

When i or my users upload something the screen just goes all white, whats wrong?
Lombi
#2 16.03.2009 19:51
Had this issue since LDU times. This is something we inherited and havent completely cleaned up yet.

Have a site with this issue right now as well, would be interesting to see if anyone has any idea.

Personally I truncated the PFS table and the problem was still there.
<a href="http://www.domenlo.com">Surreal Art</a>
dervan
#3 16.03.2009 21:07
DemptD, please tell: what version of Cotonti appears this error?

if you don't mind, please send to me the SQL-dumps of erroneous tables `sed_pfs` and `sed_pfs_folders`
DemptD
#4 16.03.2009 21:29
# dervan : DemptD, please tell: what version of Cotonti appears this error?

if you don't mind, please send to me the SQL-dumps of erroneous tables `sed_pfs` and `sed_pfs_folders`

Cotonti 0.0.3

I have sent you the SQL dumps on PM

Also im using "folder storage mode" if that has something to say, but weird that it was working since the start and not anymore...
dervan
#5 16.03.2009 21:46
# DemptD : I have sent you the SQL dumps on PM
thanks, i will attempt to understand the cause of this problem
DemptD
#6 16.03.2009 22:03
# dervan : thanks, i will attempt to understand the cause of this problem

Thank you :-)
dervan
#7 17.03.2009 08:00
DemptD, i did not repeat the error with your SQL-dumps

erroneous entries (with invalid `pfs_size` or `pfs_date`) not exists in `sed_pfs` SQL-dump

see this row with SFS entry in dump:
INSERT INTO `sed_pfs` VALUES (99, 0, 1237203089, '21052008287_0.jpg', 'jpg', 0, '', 388033, 0);
this row is valid, and link http://www.arctic-gatebil.com/datas/users/0/21052008287_0.jpg is true

but, may be cause of error is not properly working of SFS
please attempt to delete this file 21052008287_0.jpg from SFS
DemptD
#8 17.03.2009 21:59
OK, i reinstalled the whole PFS (Deleted old sql and installed new sql from .rar).

There must be something wrong with one of my users images, because when i try to upload those the screen goes blank, but other images works fine. The same when im logged in as his user.

Here are the images:

http://www.demptd.com/x/wz/files/1/21052008287.jpg
http://www.demptd.com/x/wz/files/1/21052008288.jpg
http://www.demptd.com/x/wz/files/1/21052008289.jpg
http://www.demptd.com/x/wz/files/1/21052008290.jpg
http://www.demptd.com/x/wz/files/1/22052008291.jpg
http://www.demptd.com/x/wz/files/1/22052008292.jpg
http://www.demptd.com/x/wz/files/1/22052008293.jpg

They uploaded fine on my celerondude.com uploader...
dervan
#9 18.03.2009 09:38
well, i understand

you try to upload JPEG file with EXIF metadata in header, but GD on your host not know this format

it's two way to solve this problem

1.
before upload: convert files with EXIF metadata to JPEG format that compatible with GD on your host

2.
disable all GD calls from PFS
2a)
Administration panel -> Configuration -> Personal file space -> File Check : No (not recommended, for security reasons)
2b)
Administration panel -> Configuration -> Personal file space -> Thumbnails generation : Disabled
DemptD
#10 10.04.2009 05:02
Now this has happened again.

I have:

2a) Administration panel -> Configuration -> Personal file space -> File Check : No (not recommended, for security reasons

disabled.

But if i disable:

Administration panel -> Configuration -> Personal file space -> Thumbnails generation : Disabled

Will there be no thumbnails? i need them in gallery and other places.

-------------
Bump

This is a host problem, contacted my host (one.com) and they have disabled EXIF for security reasons.

Support chat:

Candy, support one.com:
Candy: Thank you for using One.com 24/7 Interactive Online Support. How may I assist you?
you: when i upload a JPEG file with EXIF metadata in header my CMS script goes white and doesnt work. when i asked for support in the forums they said that my host dont know this format of GD... Can it be fixed?
Candy: Hi there
Candy: It is gd?
Candy: Can I have the link for that pgae?
you: yes
Candy: page*
you: http://www.arctic-gatebil.com/pfs.php?f=59&userid=7
Candy: And which cms is this?
you: cotonti
you: www.cotonti.com
Candy: GD actually is installed on our server
you: yes, but they said that it didnt understand EXIF metadata
you: it only happens when someone upload a picture with exif metadata
Candy: right, EXIF is not supported with us
Candy: This is disabled for security reasons
you: ohh... why is exif a security hazard?
Candy: I am not exactly sure, however this is not possible to use with our servers
you: oh, thats not good
Отредактировано: DemptD (26.05.2009 07:16, 14 лет назад)