7938 Posts in 1466 Topics by 943 members
|Go to End||Next >|
21 October 2009 at 11:11pm
A very small bug has snuck into the dataobject_manager.css file on line 154. The background url declaration looks like this url(../images/closebox.png') which nerfs the background image. Just adding the first ' in the parenthesis should fix it.
22 October 2009 at 1:33am
Thanks. Fixed that.
27 October 2009 at 4:10am
When running the latest revision of DataObjectManager against trunk (89463), I get the following error when attempting to access a page that uses DAO:
"Trying to get property of non-object" at line 681 of C:\xampp\htdocs\members\dataobject_manager\code\FileDataObjectManager.php
return isset($img) ? $img->CroppedImage(50,50)->URL : $file->Icon();
27 October 2009 at 4:19am
Check on the integrity of that file. It exists in the database, but CroppedImage() is returning false, so it either doesn't exist on the server or it's not readable.
27 October 2009 at 5:28am
Thanks, UncleCheese. You were correct--the file didn't exist.
I have a screen shot but don't see a way of attaching it to this forum post.
28 October 2009 at 4:10am Last edited: 28 October 2009 4:11am
Hit another issue:
When using DAO to upload an image, "SecurityID doesn't match, possible CRSF attack." is displayed after uploading the image then clicking "finish" on the extra data page. This appears to be caused by the fact that the extra data page's SecurityID field has a blank value:
<input type="hidden" id="FileDataObjectManager_Popup_EditUploadedForm_SecurityID" name="SecurityID" value="" />
If I check the value of Session::get('SecurityID') (used by Form.php on line 434 to populate SecurityID's value), it is set correctly.
In general, the SecurityID field seems to be populated correctly. The initial DAO popup window has a SecurityID field with a value (as it should):
<input type="hidden" id="FileDataObjectManager_Popup_UploadForm_SecurityID" name="SecurityID" value="15856" />
29 October 2009 at 10:46am
Hi again Uncle,
I'm still having the problem where if I upload an image in 'Files & Images' to a subfolder, the files go straight into the root of the assets folder and not into the folder I want them to.
I'm not getting any errors. Where do you think is the best place to put some debug statements so I can see what's going on?
(I'm also using subsites & cmsworkflow modules although don't know if that would affect uploads or not.)
Any help much appreciated!
30 October 2009 at 6:13am
|Go to Top||Next >|