Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Image Upload Iframe broken

Go to End

2 Posts   1971 Views


Community Member, 44 Posts

21 May 2010 at 12:47pm

Hi - I have been testing SS 2.4
The install is working fine on my local Windows server
(MySQL version 5.0.45 | Apache version 2.2.8 | PHP version 5.2.5)
I can see the Image Upload Iframe views fine (e.g Attach Image from your Computer or From the File Store)

However on my host server on Linux
(MySQL version 5.0.90 | Apache version 2.2.15 | PHP version 5.2.13)

I am getting an Image Upload Iframe error on all images tab views Message is "The requested page could not be found."
Iframe src ="admin/EditForm/field/MainPhoto/iframe"
So its the the absolute URL is not getting added to the start of the src

The Files and Images section has an image upload which is working as there are absolute urls on the iframe src

I have seen this issues has popped up before on this post
I have tried replacing my .htaccess file as suggested

Original rewrite rule: RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [ L ]

Which i replaced with RewriteRule ^(.*)$ sapphire/main.php?url=$1 [ L,QSA ]

But this causes a 500 error on the server
Any suggestions to resolve?

Usability Counts

Community Member, 5 Posts

2 March 2011 at 4:18am

Having the same issue.