Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item Manager Extended (Beta)
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.
Reply


Messages In This Thread
Item Manager Extended (Beta) - by Bigin - 2013-06-15, 23:20:44
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-16, 09:18:25
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-17, 03:05:23
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-17, 04:46:07
RE: Item Manager Extended (Beta) - by Oleg06 - 2013-06-17, 05:15:13
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-17, 07:43:20
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 18:01:09
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 18:32:29
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-25, 22:48:26
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 23:25:41
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-26, 00:03:01
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 00:41:20
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-26, 01:45:41
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 18:12:42
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 18:52:33
RE: Item Manager Extended (Beta) - by Rene - 2013-06-26, 23:03:12
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 23:51:59
RE: Item Manager Extended (Beta) - by Rene - 2013-09-30, 20:15:55
RE: Item Manager Extended (Beta) - by Bigin - 2013-10-03, 23:35:16
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-27, 04:23:52
RE: Item Manager Extended (Beta) - by Rene - 2013-06-27, 16:09:44
RE: Item Manager Extended (Beta) - by morvy - 2013-06-27, 05:04:08
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-27, 15:59:53
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-15, 22:28:56
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-16, 01:59:04
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-18, 22:29:34
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-18, 20:43:36
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-19, 23:24:48
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-20, 00:37:26
RE: Item Manager Extended (Beta) - by Rene - 2013-08-20, 22:43:54
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-19, 23:08:39
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-20, 22:21:29
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-20, 23:31:17
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-20, 23:45:14
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-20, 19:19:15
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-21, 06:09:02
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-21, 00:00:35
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-21, 00:48:15
RE: Item Manager Extended (Beta) - by ncsic - 2013-08-21, 18:23:30
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-21, 19:20:29
RE: Item Manager Extended (Beta) - by ncsic - 2013-08-21, 21:15:38
RE: Item Manager Extended (Beta) - by opti - 2013-09-19, 22:45:27
RE: Item Manager Extended (Beta) - by Bigin - 2013-09-21, 20:14:58
RE: Item Manager Extended (Beta) - by Bigin - 2013-09-23, 04:28:05
RE: Item Manager Extended (Beta) - by Rene - 2013-10-04, 00:00:38
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-12, 14:18:41
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-13, 16:47:20
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-14, 10:16:39
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-14, 16:53:01
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-15, 09:32:52
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-23, 05:36:55
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-23, 05:53:54
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-23, 23:42:52
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-26, 07:34:33
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-27, 07:05:56
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-28, 05:25:21
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-30, 03:34:31
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-30, 03:56:58
RE: Item Manager Extended (Beta) - by Bigin - 2014-03-07, 05:27:29
RE: Item Manager Extended (Beta) - by MicroCAD - 2014-04-22, 01:00:43
RE: Item Manager Extended (Beta) - by Bigin - 2014-04-22, 04:52:49
RE: Item Manager Extended (Beta) - by MicroCAD - 2014-04-27, 03:27:40
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-13, 17:35:52
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-14, 20:33:15
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-16, 19:24:12
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-17, 06:42:41
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-17, 16:08:24
RE: Item Manager Extended (Beta) - by morvy - 2014-06-16, 19:30:31
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-16, 20:12:41
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-23, 18:05:28
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 02:21:26
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 02:41:14
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 05:59:36
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 06:42:42
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 08:00:53
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 08:17:04
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-24, 09:01:45
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 10:28:18
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 01:20:09
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-10, 05:44:41
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 06:10:38
RE: Item Manager Extended (Beta) - by shawn_a - 2014-07-10, 06:09:53
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 18:14:29
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-10, 19:23:53
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-11, 05:09:19
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-11, 16:35:49
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-12, 03:18:06
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-12, 16:48:49
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-12, 19:07:40
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-13, 06:23:24
RE: Item Manager Extended (Beta) - by lukinhasb - 2014-07-15, 05:46:42
RE: Item Manager Extended (Beta) - by lukinhasb - 2014-07-15, 07:40:47
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-15, 15:38:00
RE: Item Manager Extended (Beta) - by xxdex - 2014-08-06, 09:07:00
RE: Item Manager Extended (Beta) - by Bigin - 2014-08-07, 03:19:43
RE: Item Manager Extended (Beta) - by xxdex - 2014-08-10, 06:39:44
RE: Item Manager Extended (Beta) - by datiswous - 2014-08-21, 03:09:21
RE: Item Manager Extended (Beta) - by Bigin - 2014-08-24, 18:02:35
RE: Item Manager Extended (Beta) - by linden - 2014-09-22, 16:33:05
RE: Item Manager Extended (Beta) - by Bigin - 2014-09-25, 16:02:55
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 10:32:49
RE: Item Manager Extended (Beta) - by shawn_a - 2014-12-13, 10:58:15
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:04:59
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:16:18
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:19:46
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 17:52:26
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-25, 00:52:34
RE: Item Manager Extended (Beta) - by datiswous - 2014-12-26, 23:31:33
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-28, 06:53:48
RE: Item Manager Extended (Beta) - by bensayers - 2015-01-17, 05:26:03
RE: Item Manager Extended (Beta) - by Bigin - 2014-12-30, 21:05:11
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-31, 03:32:12
RE: Item Manager Extended (Beta) - by Bigin - 2015-01-01, 04:44:03
RE: Item Manager Extended (Beta) - by datiswous - 2014-12-26, 23:50:52
RE: Item Manager Extended (Beta) - by Bigin - 2014-12-30, 21:09:33
RE: Item Manager Extended (Beta) - by tuxy - 2015-01-15, 09:10:13
RE: Item Manager Extended (Beta) - by Angryboy - 2015-01-15, 22:37:55
RE: Item Manager Extended (Beta) - by mjbraun - 2015-01-16, 02:15:49
RE: Item Manager Extended (Beta) - by tuxy - 2015-01-16, 05:49:31
RE: Item Manager Extended (Beta) - by 11ecom - 2015-04-23, 03:45:31
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-24, 05:52:01
RE: Item Manager Extended (Beta) - by Rico - 2015-04-30, 10:03:41
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-30, 22:56:20
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-30, 23:16:20
RE: Item Manager Extended (Beta) - by Rico - 2015-05-08, 01:57:02
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-08, 15:07:34
RE: Item Manager Extended (Beta) - by Rico - 2015-05-09, 08:29:53
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-09, 16:14:22
RE: Item Manager Extended (Beta) - by Rico - 2015-05-09, 21:14:28
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-18, 01:57:43
RE: Item Manager Extended (Beta) - by ross104 - 2015-07-21, 19:07:37
RE: Item Manager Extended (Beta) - by Bigin - 2015-07-24, 06:39:42
IManager examples zipped - by Erick67 - 2015-08-15, 18:48:04
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-15, 22:55:01
RE: Item Manager Extended (Beta) - by Erick67 - 2015-08-15, 23:13:38
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-16, 00:02:04
RE: Item Manager Extended (Beta) - by Erick67 - 2015-08-16, 00:04:00
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-16, 00:12:42



Users browsing this thread: 4 Guest(s)