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

Asset manager plugin

Feed 276 posts, 32 voices

Avatar
58 posts

I have a next text in src of images and in href of an A in Page-editing part of admin mode:
http://gic/Z:/home/gic/www/public/images/detali-i-sb-ed.jpg

In asset part of admin mode i have an images with same brocken src=‘http://gic/Z:/home/gic/www/public/images/detali.64c.gif’

Windows Vista is host.

What i must to do to fix it?

print_r($_SERVER[‘DOCUMENT_ROOT’]);echo “<br>”;
print_r(FROG_ROOT);echo “<br>”;
print_r(realpath(FROG_ROOT));
Result:
Z:/home/gic/www
Z:\home\gic\www
Z:\home\gic\www

 
Avatar
1 posts

Hi Tuupola,

I’m having problems with this plugin when i’m using filters while editing pages.
the problem has been mentioned before. link

I run into the issue when i do the following.

TinyMCE (2.0.0):
Works fine untill i switch from page title to meta-data. then the assets bar moves to the top right corner.

CKEditor (0.1.0) and WYMeditor (0.0.6):
After saving a page the assets bar moves to the top left corner. When i open a page that is written in one of the two filters the page will be opened with the assets bar on the top left corner.

I’m using Asset Manager version 0.4.9.

 
Avatar
15 posts

So I have a test version of Frog running on my local box (I’m choosing between CMSes – so far Frog seems great). I have had no problems with anything except when I installed the Asset Management plugin. For the record – all of Tuupola’s other plugins = Outstanding and they work great.

I followed the instructions to the ‘T’, but if I click either the Assets tab or the Setting link in the Admin area, I just get a big white nothing. No 404, No source download, No log errors, no JS console errors – just nothing.

Anyone else run into this?

 
Avatar
15 posts

At this stage – I am assuming that this may be a routing issue – though I am in no way an expert on that sort of thing, so not positive. Again – anyone else run into these issues?

 
Avatar
58 posts

I have reworked version of this plugin. But this have itself issue. I’m working about it from oktober 2009. And from project to project opens up a new issue. Like not compatible with Nginx or else.
But if you strongly need of this i can share it with you.

 
Avatar
291 posts

At this stage – I am assuming that this may be a routing issue – though I am in no way an expert on that sort of thing, so not positive. Again – anyone else run into these issues?

What directory is the plugin installed in? Folder should be assets not for example frog_assets.

 
Avatar
291 posts

I have reworked version of this plugin.

Ax: Care to share what changes you have done?

 
Avatar
58 posts

I dunno what changes i’ve done. I can send you it on mail, that you can compare it by yourself.

In my version, it working in windows/unix. Create resized images in ‘resize’ folder. Hard setted on ‘/public’ folder (not assets). Added ability to set subfolders as assets, or something else. I don’t remember.

 
Avatar
58 posts

At this stage – I am assuming that this may be a routing issue – though I am in no way an expert on that sort of thing, so not positive. Again – anyone else run into these issues?

What directory is the plugin installed in? Folder should be assets not for example frog_assets.

Plugin folder must be named like plugin id in frog/plugins/“plugin_folder”/index.php

 
Avatar
15 posts

@tuupola, -yes, the ‘assets’ folder is in root. Currently empty with perm. 777.

and yes to @ax too. In the plugin index.php

‘id’ => ‘assets’,

yeah – it’s there:
http://skitch.com/andrewdc/nxx9m/ccr.dev-setting

But clicking ‘settings’ or the ‘Assets’ tab => Null.

Strange. Thanks guys for getting back to me on this so far though!

 
Avatar
58 posts

Okay. Set up a new one of frog. Download a fresh Assets, Image Resize and jQuery + jQuery UI plugins.
Set these all on. And reply to us what’s happening. Don’t forget about Debug = true.

 
Avatar
15 posts

Will do. I will report exactly what happens. Thanks!

 
Avatar
15 posts

Yarr – ok this will be more helpful:

“Fatal error: Call to undefined function gd_info() in ROOT/frog/plugins/assets/AssetsController.php on line 354”

 
Avatar
58 posts

What’s PHP version? It must be above 4.3

 
Avatar
15 posts

So I simply added an empty function right above this line in the AssetsController.php file:

function gd_info(){

}

Then – the assets page actually loads. Then it warns:

“Your system does not have PNG Support. Assets manager will not work properly.”

 
Avatar
15 posts

PHP 5.2.11 btw.

 
Avatar
58 posts

I asked you about your PHP version. gd_info must be provided by PHP, it isnt user-function.

 
Avatar
15 posts

oh, as in:

http://php.net/manual/en/function.gd-info.php

Huh.

 
Avatar
58 posts

Yes. GD is a library, maybe it just not installed?
Try to ask your hosting-provider.

 
Avatar
15 posts

Actually – this one I am hosting locally so if I can just figure how to install the GD library we may be good to go. Looking around the web on how right now…

Thanks for the help.

 
Avatar
58 posts

You may use something like XAMPP

 
Avatar
24 posts

I’m running frog 0.9.5 with the latest asset plugin with the other supporting plugins to make it work from Tuupola’s website. Unfortunately, I’m having the same issue as some people from an earlier post.

Has anyone found a solution to this problem? And yes, frog is in the root of my site.

 
Avatar
58 posts

I can just send you fixed version of this plugin, and you’ll say, it’s working or not.

 
Avatar
24 posts

If you could please. I’d really appreciate it.

 
Avatar
58 posts

Just give me your mailbox