Re: The area you are attempting to access is forbidden when launching image gallery

  •  09-16-2009, 4:30 AM

    Re: The area you are attempting to access is forbidden when launching image gallery

    I had the same problem and can confirm that the option above works. Both on my local laptop (with Apache) and on the webserver at the hosting company I got the message access is forbidden. In the script I use to make the editor I start a session with PHP. I have added this session name to the two files above and it works.
     
    Some extra instructions, to find everything quickly:

    /CuteEditor_Files/include_CuteEditor.php
    1. <?php  
    2. error_reporting(E_ALL ^ E_NOTICE);  
    3. session_name("YOUR SESSION NAME");  
    4. session_start();  
    5. class CuteEditor {  
    6. ... 
    These are the first 5 lines of the script. I have added line 3 where I replaced "YOUR SESSION NAME" of course by the session name I used for my own sessions.
     
    /CuteEditor_Files/Dialogs/Include_Security.php
    1. <?php  
    2. session_name("YOUR SESSION NAME");  
    3. session_start();  
    4. error_reporting(E_ALL ^ E_NOTICE);  
    5. ...
    And here I have added line 2.
     
    This fixed my problem, hope it's useful info.
View Complete Thread