23471 Posts in 18941 Topics by 2878 members
|Go to End||Next >|
23 January 2011 at 11:14pm
I'm a new SS user, currently working with my first install of 2.4.4.
I've come across a problem that, although there seems to be the odd reference to in the forum over the years, I can't see that anyone has solved yet.
I'm completely unable to upload images through the CMS. Either through 'Pages' or 'Files and Images'.
I can upload the the assets folder via FTP but I don't think my client's going to buy that.
Anybody else had the same problem recently or know a fix?
24 January 2011 at 1:11am Last edited: 24 January 2011 1:11am
Is open_basedir active?
If you don't know if it's active build an phpinfo.php (see below) and search for the string open_basedir.
24 January 2011 at 9:20am
I search for open_basedir with the following result:
24 January 2011 at 10:20am
Thanks, I implemented the patches:
Uploaded them and did a dev/build with the error:
Parse error: syntax error, unexpected T_IF, expecting T_FUNCTION in /nfs/c05/h03/mnt/74707/domains/everythingdesign.co.nz/html/test/silverstripe/cms/code/AssetAdmin.php on line 269
24 January 2011 at 10:23am Last edited: 24 January 2011 10:33am
Yes, you've done something wrong (with the code...) ;-)
24 January 2011 at 10:36am
Are these the best of the patches to use? I notice there was a recent alternative patch too.
Should I try to redo again from scratch?
Hopeless I know.
(I'm a graphic designer if you hadn't guessed)
24 January 2011 at 10:51am
This is "my" patch which is working for me.
Folder.php and Upload.php are both located in sapphire/filesystem.
|Go to Top||Next >|