Forums / Setup & design / 403 Forbidden Error when trying to insert a link with OE.

403 Forbidden Error when trying to insert a link with OE.

Author Message

Rafael Vega

Friday 03 March 2006 1:28:51 pm

Hello all.

I am using Online Editor v4.0.2 and ezPublish v3.7.3.
I am ttrying to insert a link using the OE. When I click the browse button in the Insert Link popup window (after selecting ezobject or eznode as the type of link) I get this error:

<i>You don't have permission to access /ez/insertlink on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. </i>

I hope someone can help me with this issue.

Regards.

Rafa

Børge Warvik

Friday 26 May 2006 12:09:51 am

BUMP!

Rafael: Did you fix this?

I've got the same problem, any idea anyone? But instead of an 404 error I see my default siteaccess frontpage?!?

Rafael Vega

Friday 26 May 2006 7:42:33 am

Hello Borge.
I did fix it. There is a bug on the template for the insertlink popup window in online editor (/extension/ezdhtml/design/standard/templates/ezdhtml/insertlink_gecko.tpl)
Around line 133 there is a form and some input tags that are incorrectly nested, also check out where the closing tag for the form is (around line 200).
Also, the action atribute for the form is incorrect.

This is the original code:

<input type="hidden" id="editorID" value="" />

<input type="hidden" id="browseActionName" value="{$browse_action_name}" />

<form method="post" action="insertlink">
<div class="onlineeditor">

<input id="isNew" name="isNew" type="hidden" value="{$is_new}"/>

<h1>
{section show=$is_new}
{"Insert link"|i18n("design/standard/ezdhtml")}
{section-else}
{"Link Properties"|i18n("design/standard/ezdhtml")}
{/section}
</h1>

I changed it for:

<div class="onlineeditor">
<form action={"ezdhtml/insertlink"|ezurl} method="post">

<input type="hidden" id="editorID" value="" />

<input type="hidden" id="browseActionName" value="{$browse_action_name}" />

<input id="isNew" name="isNew" type="hidden" value="{$is_new}"/>

<h1>
{section show=$is_new}
{"Insert link"|i18n("design/standard/ezdhtml")}
{section-else}
{"Link Properties"|i18n("design/standard/ezdhtml")}
{/section}
</h1>

Rafael Vega

Friday 26 May 2006 7:43:35 am

I Hope this solves your problem, good luck

Børge Warvik

Saturday 27 May 2006 5:00:27 am

Thanks Rafael!

Worked perfectly!

gaume bro

Wednesday 12 December 2007 5:35:00 am

Hello,

I have the same problem.
I've done the modifications for insertlink_gecko.tpl and it's ok.

But I have always a problem with IExplorer. I don't know how modifiy my insertlink.tpl

Can you help me ?

Hector Fuentes

Thursday 23 April 2009 8:27:03 am

Hi

I had this problem en eZ Publish 4.0.3 with OE 4.3.1
To fix the problem I had to change the line 149 in insertlink_gecko.tpl
from

<form method="post" action="insertlink">

to

<form method="post" action={"ezdhtml/insertlink"|ezurl}>

and the problem seems to be fixed when I use Firefox, but not in IE. To fix the problem for IE I do the same change but in insertlink.tpl
Now insertlink work both in Firefox and IE

I hope this help someone :-)

Regards!

chuluunerdene enkhbazar

Thursday 24 September 2009 1:20:14 pm

hello my godaddy web host will not support
i dont know what happend my web host

Not Found
The requested URL /monmos-group.com/.heder.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.33 Server at www.monmos-group.com Port 80

this error will all web not responding
please help me how to fix it'

eZ debug

Timing: Jan 18 2025 22:11:29
Script start
Timing: Jan 18 2025 22:11:29
Module start 'content'
Timing: Jan 18 2025 22:11:30
Module end 'content'
Timing: Jan 18 2025 22:11:30
Script end

Main resources:

Total runtime0.7876 sec
Peak memory usage4,096.0000 KB
Database Queries215

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9688180.7969
Module start 'content' 0.00690.6780 768.7656679.4063
Module end 'content' 0.68480.1026 1,448.1719340.3984
Script end 0.7875  1,788.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4935210.0002
Check MTime0.00140.1748210.0001
Mysql Total
Database connection0.00080.099010.0008
Mysqli_queries0.713890.63342150.0033
Looping result0.00180.23212130.0000
Template Total0.759496.420.3797
Template load0.00230.295820.0012
Template processing0.757096.118620.3785
Template load and register function0.00010.018310.0001
states
state_id_array0.00120.154910.0012
state_identifier_array0.00090.111720.0004
Override
Cache load0.00200.2564580.0000
Sytem overhead
Fetch class attribute can translate value0.00100.130460.0002
Fetch class attribute name0.00120.154590.0001
XML
Image XML parsing0.00240.306860.0004
class_abstraction
Instantiating content class attribute0.00000.0015100.0000
General
dbfile0.00520.6591270.0002
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
17content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 42
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs