This topic is locked

Image upload in 6.2

10/20/2012 5:41:32 PM
PHPRunner General questions
P
Philip author

Unfortunately I can't get running the image upload in version 6.2.

I just converted my former 6.1 application and end up with this error message:
Fehlertyp 2

Fehlerbeschreibung fwrite() expects parameter 1 to be resource, boolean given
Can someone give me a hint what is wrong / to change?
Philip

Sergey Kornilov admin 10/21/2012

I would ask you post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

P
Philip author 10/24/2012

Sergey,

I could solve the problem half (i.e. in general it works):
In PHPR 6.1 I used this setting for the path to the upload folder:

../../../files

Unfortunately this does not work in 6.2 in combination with "compatibility mode".
When I turn off "compatibility mode" the path to the upload folder works fine, but all existing images (uploaded with 6.1 or older) are no longer presented as a thumbnail but in full size.
Can you check / confirm this?
Philip

A
Alto 10/25/2012



Sergey,

I could solve the problem half (i.e. in general it works):
In PHPR 6.1 I used this setting for the path to the upload folder:

../../../files

Unfortunately this does not work in 6.2 in combination with "compatibility mode".
When I turn off "compatibility mode" the path to the upload folder works fine, but all existing images (uploaded with 6.1 or older) are no longer presented as a thumbnail but in full size.
Can you check / confirm this?
Philip


Hi Philip <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=68267&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> I had the same problem.
The explanation is in the "th" of the Thumbnalis. In the preview version (6.1) the Ibox created the thumbnalis at the fly, now in this version you need to store this last.

You don't see the thumbanalis becouse doesn't exist in your folder.
To solve you could download all the images and (with a Prg like Photoshop) Duplicate them with the Dimension you wish , but inserting the "th"in the begin of the name. Ex. if your img is smile.jpg , duplicate it and create thsmile.jpg and insert it in the same folder.
Surely Sergey is working to rebuild the previous function of the Ibox, probably the wish to can insert more files i the same field distract him about this problematic. But I'm sure he'll solve asap.
Antonio - Milano