FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Asset manager plugin

Feed 276 posts, 32 voices

Avatar
42 posts

Hey davep

I just found solution and problem is solved. It appears that Frog is sensitive to folder names. i uploaded asset plugin folder named as tuupola-frog_assets but when i changed it to assets it started to work. Same was for jquery jquery ui folder and naehrstoff-image resize.

Try that maybe it helps you too.

Ou and Tuupola i’m intrested that maybe you can show the pic how the folder are you named?
Mine looks like that:

 
Avatar
67 posts

Just doing that now – actually first just turned debug on and I get this error when I upload the tb_contactform plugin:
Parse error: syntax error, unexpected ‘{’ in /home/mynderi/public_html/sas/frog/plugins/tb_contactform/index.php on line 96

& this error when I remove tb_contactform and upload contact_form
Parse error: syntax error, unexpected T_STRING in /home/mynderi/public_html/sas/frog/plugins/contact_form/index.php on line 1

cheers Dave

 
Avatar
291 posts

I just found solution and problem is solved. It appears that Frog is sensitive to folder names. i uploaded asset plugin folder named as tuupola-frog_assets

It is good idea to read installation instructions :)It says to put Assets plugin files to assets folder. Also the installation tarball puts the files to correct folder.

I guess you used githubs automatical zip generator download? It adds the github username in front of the file / folder name.

 
Avatar
42 posts

yes tuupola you got that right
BUT
now i have new problem…when i upload a pic via assets it doesn’t show nothing…say that uploaded sucessfully but no pic :S
and the assets Setting window looks for me that it’s missing something. I can’t create folder

 
Avatar
291 posts

You have somehow messed up the default settings. Disable and enable the plugin once to recreate the default settings.

 
Avatar
42 posts

i reuploaded files form frog_assets.tar.gz file and disabled then enabled & started to work
still theres one BUT when i upload a file it shows me a empty file and when i click on it says

Not Found
The requested URL /admin/assets/barney.jpg was not found on this server.

 
Avatar
291 posts

Do three things.

  1. In your settings check that your assets folder is /assets/
  2. Make sure folder DOCUMENT_ROOT/assets/ exists.
  3. Make sure your webserver has write permissions to that folder.

PS. I just did a fresh install from SVN but could not reproduce the problem.

 
Avatar
184 posts

I have to admit I am also having trouble getting the thumbnails to generate with the asset plugin. All steps provided seem to be correct:

1. Frog 0.9.5 RC2 using PHP 5.2.6 is running with GD library.
2. Enabled latest version of jQuery 1.3.2 plugin.
3. Enabled latest version of jQuery UI 1.7.0 plugin.
4. Enabled latest version of Image Resize 1.2.1 plugin.
5. Enabled latest version of Assets 0.4.4 plugin.
6. Ensured assets folder has write access.

I then browsed for images and uploaded them in Assets tab. Little grey boxes appear without images and the boxes link to their coresponding images fine. It is just the thumbnails aren’t appearing … the thumb filenames are generated with .64c attached to the filename but I can’t get the actual thumb images to generate.

Not sure what else I can do.

 
Avatar
42 posts

tuupola i did what you recommended and didn’t help

why plugin puts address for pic /admin/assets when it should be /assets :S
and also don’t have thumbnails

 
Avatar
291 posts

It seems there is some combination of Frog + PHP + plugins + something which causes Assets plugin to fail. I try to find the combination. Otherwise I have no idea what to fix :)

Kristjan: What browser do you use? Does the problem exist with other browsers?

 
Avatar
42 posts

Tryed Firefox, IE, Safari, Google Chrome – no difference, no thumb, no correct link

 
Avatar
42 posts

tuupola any new on how to fix this assets plugin problem?

 
Avatar
1493 posts

I’m just doing a tiny bit of head-scratching … not sure how the mechanism of Assets works, but could another potential problem be the way a host’s PHP is configured? Might it affect the way Peter Gassner’s ImageResize works….?? Don’t know! Just thinking out loud…

 
Avatar
17 posts

tuuploa, you mentioned that when you select another folder form the drop down the asset manager is fixed.

My only problem is, that even when i upload a file via the asset manager, I get the small white boxes instead of the image I uploaded….

 
Avatar
42 posts

i thin too that the trouble maker is the ImageResize becouse it don’t greate those thumbnails filename.64c.jpg…i don’t have one of those files in server…also i tryd to make that file my self and i uploaded it to assets folder, and when i put /assets/ for folder undersetting it seems like plugin starts to show only those assets what i’m uploaded then setting where just assets…but when i upload with /assets/ it doesn’t work either

 
Avatar
291 posts

My only problem is, that even when i upload a file via the asset manager, I get the small white boxes instead of the image I uploaded….

Right click on the broken image and open it on the separate window. What is the URL and/or error message you see?

any new on how to fix this assets plugin problem?

I have some free time at the moment so working on it. I just did a CLEAN install of 0.9.5-stable. Installed all the needed plugins exactly as written in instructions. Everything worked out of the box.

Can you (Kristjan) put and page with phpinfo() online on the server you have problems with and send the url to me (tuupola_at_appelsiini.net)? I mean page with has just the following code:

<?php phpinfo(); ?>
 
Avatar
291 posts

the thumb filenames are generated with .64c attached to the filename but I can’t get the actual thumb images to generate.

You mean the files DO appear on the server hard drive but they are 0 bytes size?

 
Avatar
6 posts

Hi @Tuupola,

Thanks for your work on this. I have the same problem (thumbs not created) and have just posted a reply in another (image_resize) thread

The files are linked correctly but the thumb images are not created/nonexistent so the link results in a 404.

EDIT:
It must be something with permissions or paths since I have just found out that creating an ‘asset-path’ in the settings to my ‘public folder’ (e.g. “frog_095/public/images/” instead of just “assets”) works!

So, even in 0.9.5 with the latest image-resize plugin there is a path issue when Frog is in a subdirectory?

Another question: I can now drag the thumbnail in the editor, but how do I display not only the URL but a valid IMG element? Probably somewhere in the JS?

Any ideas?

 
Avatar
1493 posts

I have some free time at the moment so working on it.

cough! (tutorial) cough!

;) (Cheeky, I know!)

 
Avatar
184 posts

Tuupola,

Appologies … I should have used more implicit descriptions. I meant that the thumb filenames are generated in the html source and that there are no actual files being created on the server.

 
Avatar
17 posts

I right clicked on the white thumbnail images and opened in a new window and it opened the following page:

http://173.45.236.219/frog/admin/assets/bk-leftPanel.gif

and the image displayed in the browser fine.

 
Avatar
291 posts

I right clicked on the white thumbnail images and opened in a new window and it opened the following page:

http://173.45.236.219/frog/admin/assets/bk-leftPanel.gif

If your config says assets dir is /assets or assets it means files are being uploaded to wrong directory. The file should exist in:

http://173.45.236.219/frog/assets/bk-leftPanel.gif

Do I understand correctly you have installed Subdirectory frog instead of document root?

 
Avatar
291 posts

It must be something with permissions or paths since I have just found

Your webserver must have write access to the assets directory and the directory must exist.

 
Avatar
291 posts

Ok I guess I figured out the oddball whiteboxes problem. I was accidentally able to reproduce it in one 0.9.5-RC2 instance. So Kristjan and others if you could test Assets 0.4.5-RC1 to see if it fixes your problem. It works with my 0.9.5-RC2 and 0.9.5.

 
Avatar
42 posts

ok i try’d that, and now it don’t upload files :S and don’t create the assets folder to the server where to upload pictures

EDIT: Assets says “Unknown problem with your upload.”