I'm new, like a lot of others to programming. So far teaching myself, i have learned a lot. Currently i am working on with a tutorial to create a small cms that uses the fckeditor. my set up included wamp server installed on my pc and everything running from localhost.
However, the tutorial doesn't really go into detail on some errors, and i've figured out quite a few fixes by myself. However, im trying to secure the file manage.
I'm using dreamweaver 8 and so far so good. however, using dreamweavers built in restrict access feature is not working on the file manager. i have searched this forum as well as a lot of other pages on google. tried a lot of the fixes for my application and none of them work.
the only changes made to the config file located at:
admin/fckeditor/filemanager/connector/php/config are adding the following:
Just after the opening php code:
then for the connector itself:
So far, all the restrict access on all the other pages works fine. However, when i preview the site and try to use the file manager, i get the following error:
The server didn't reply with a proper XML data. Please check your configuration.
removing the above added code and just setting the config to TRUE works fine. but i don't want that. Everything i read, very little did i find for straight php. most of it was for asp and for CF applications.
on the page that launches the fckeditor, the line of code
Im not using the ckeditor, as when i tried to, following the tutorial, i got a lot more errors. so im learning this step by step.
so i am wondering if someone can help me out with this one?
Thanks in advanced.
Rob
However, the tutorial doesn't really go into detail on some errors, and i've figured out quite a few fixes by myself. However, im trying to secure the file manage.
I'm using dreamweaver 8 and so far so good. however, using dreamweavers built in restrict access feature is not working on the file manager. i have searched this forum as well as a lot of other pages on google. tried a lot of the fixes for my application and none of them work.
the only changes made to the config file located at:
admin/fckeditor/filemanager/connector/php/config are adding the following:
Just after the opening php code:
if (!isset($_SESSION)) { session_start(); }
then for the connector itself:
if (isset($_SESSION['MM_Username']) && $_SESSION['MM_Username'] ! = '') { $Config['Enabled'] = true ; } else { $Config['Enabled'] = false ; }
So far, all the restrict access on all the other pages works fine. However, when i preview the site and try to use the file manager, i get the following error:
The server didn't reply with a proper XML data. Please check your configuration.
removing the above added code and just setting the config to TRUE works fine. but i don't want that. Everything i read, very little did i find for straight php. most of it was for asp and for CF applications.
on the page that launches the fckeditor, the line of code
<?php require_once('fckeditor/fckeditor.php'); ?>is included. the entire editor works, all but the file manager. I really don't want to move on with the tutorial, until i can figure this part out.
Im not using the ckeditor, as when i tried to, following the tutorial, i got a lot more errors. so im learning this step by step.
so i am wondering if someone can help me out with this one?
Thanks in advanced.
Rob