You are not logged in.
When creating a new folder, the popup window appears, but already it has a javascript error (you have to resize the popup window to see the warning icon):
Line: 28
Char: 3
Error: Object expected
Code: 0
URL: ...../xinha/plugins/ImageManager/newFolder.html
Also, uploading files doesn't work. I can tell something's happening, but when the operation completes, there is no file. I expect the basedir restrictions are causing problems, as my Apache configuration does not allow operations outside of the webroot (i.e. /tmp or similar).
Any ideas/suggestions anyone ?
The only way of troubleshooting PHP stuff I know is 'print $var;'. Doesn't really do it for me with combined javascript stuff.
Line 28 in newFolder.html contains: __dlg_init();
Somehow, I don't think this is the correct line number, is it ?
Offline
try it in Firefox, you will get much more meaningfull error-messages
(you have to open the JavaScript-Console)
Niko
Offline
c0, is the Image Manager working properly when you use the included xinha-example fle?
No config is needed to get the example to work... besides checking Image Manager of course that is.
Offline
Isn't workin in example either. Error message:
Fehler: __dlg_init is not defined
Quelldatei: http://xinha.gogo.co.nz/xinha-nightly/p … older.html
Zeile: 28
Fehler: __dlg_close is not defined
Quelldatei: http://xinha.gogo.co.nz/xinha-nightly/p … older.html
Zeile: 49
Offline
inserting
<script type="text/javascript" src="../../popups/popup.js"></script>
on line 19 in /plugins/ImageManager/newFolder.html does the the trick because since Changeset 256 these functions are not defined in /plugins/ImageManager/assets/popup.js anymore
Offline
Create New folder is now 100% ok (except window dimensions are a bit to small on my evil iexplore).
Upload isn't working yet, but will look into this myself. Shouldn't be a problem.
Many thanks for your very helpful contribution Ray.
Wouldn't have found this myself in years probably, to be honest. :-)
Offline
Hmm...create new folder only works if my site is installed in the webroot.
> A copy of my (test) site in a subsir of the webroot is not functioning properly.
> Xinha + the ImageManager itself are untouched and functioning properly.
Offline
Hello!
I can't upload an image too... don't know why!
Can anybody help? I have no error using the Javascript Console. I can create a folder, but the image upload doesn't works!
Can anybody Help?
Offline
Yes Ray!
I'm testing it locally.
I have the GD2 library and uploads using the common PHP codes work fine!
But maybe i need any other right to do this... can you tell me what do i need to try it?
Offline