Hello,
I think I've solved the problems commented the other day. I'll point out here the solution, just in case it is useful for someone.
The problem of the wrong URL in the uploading window was easy to solve from the clue you gave me. The URL was...
http://mywebsite.com//usrplugins/imanager/uploadscript...
...and should be...
http://mywebsite.com/plugins/imanager/uploadscript...
In /plugins/imanager/uploadscript/model/generator.php there are the following lines:
// Modify our window url parameter
$tpl['formtemplate']['upload_script_url'] =
'http://'.$_SERVER['SERVER_NAME'].'/'.str_replace($_SERVER['DOCUMENT_ROOT'], '',
str_replace("\\","/",$tpl['formtemplate']['upload_script_url']));
This line...
'http://'.$_SERVER['SERVER_NAME'].'/'.str_replace($_SERVER['DOCUMENT_ROOT'], '',
...must be changed into this (in my case):
'http://'.$_SERVER['SERVER_NAME'].'/'.str_replace('/usr', '',
My DOCUMENT_ROOT is "web"; I don't know where the "/usr" comes from... In any case, $ _SERVER ['DOCUMENT_ROOT'] must be changed into the string to remove from the URL.
The other problem was harder to solve. The custom fields of the categories were not saved, or what is worse, were saved sometimes and sometimes were not. I got a warning (not error) message related to permissions before installing GetSimple, so I thought the problem might be related to permissions. But my folders were writable, GetSimple and other plugins worked well, and according to GetSimple Website Health Check, everything was OK... After struggling for a few days, I realized that the custom fields were not saved when I named them with initial capital letter... That was all. I think there are also problems if they start with a number, and I guess the same will happen with spaces and special characters.
So another suggestion for version 2.0 (or is it 1.0?): Warning text in "Configure" section about unsupported characters in name fields, or automatically renaming (internally) those fields.
I'll point out a couple more of things I've observed:
It shouldn't be allowed to write the same name for different custom fields in the same category. If the user does this, then there will be problems.
And above all: You can't create a new item with the name of an exisiting one (you get a warning), but if you are editing an item, you can change its name into an existing item name. If you do this, the old item is deleted (with no warnings), but not their images. From this moment, it seems the relationship between items and their images is partially or totally broken, from what I've seen. When items are deleted, their images aren't. This is not solved even after deleting all items and categories. Perhaps the field used by the script to identify an item should be an automatically generated number...
I was going to use Item Manager in my next project, but the latter problem is quite serious... It's a known bug or it happens only to me...? If it's a bug, is it solved in next version?
Thanks for your help.