Page 1 of 1
web page dialog 404 error
Posted: Mon Oct 29, 2007 7:59 pm
by Roderic
When I create a new page, and click on the button to add an image, I get a web page dialog to insert/edit image. From that popup, when I click on the browse button to choose an image, the next popup gives me a 404 error.
It's not a popup error, I already checked that. It seems to be that the browse button is trying to bring up a page that is not in the right place.
Can someone please tell me where I should look? Is there a url setting somewhere that I need to fix?
thanks, Roderic
Re: web page dialog 404 error
Posted: Tue Oct 30, 2007 3:35 am
by Dr.CSS
more input...
Re: web page dialog 404 error
Posted: Tue Oct 30, 2007 7:36 pm
by Roderic
Mark,
What else do you need? I'm unable to use the "add/edit" image link when I create or edit a page. The popup comes back with a 404 page not found error.
How can this be fixed?
Thanks,
Roderic
Re: web page dialog 404 error
Posted: Tue Oct 30, 2007 7:46 pm
by RonnyK
Roderic,
check the paths in the config.php.
Ronny
Re: web page dialog 404 error
Posted: Wed Oct 31, 2007 3:01 am
by Roderic
Ronny,
I did check the path settings in the config.php file, and they appear to be correct, both the image uploads url, and the image uploads path. Is there something else I should check?
Is there anything else I can check? Thanks for your help.
Roderic
Re: web page dialog 404 error
Posted: Wed Oct 31, 2007 8:38 pm
by Dr.CSS
I think it needs to be set in the config.php of the simplebrowser plugin, as you are using redirects...
starting line 26...
$cfgfilename = '../config.php';
while(!@file_exists($cfgfilename)){
$cfgfilename = "../".$cfgfilename;
}
@include($cfgfilename);
// Path to user files relative to the document root.
// $Config['UserFilesPath'] = 'uploads/' ;
$Config['UserFilesPath'] = str_replace($config["root_url"].'/', '', $config["uploads_url"]);
// $Config['UserFilesPath'] = $config["uploads_url"];
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
// $Config['UserFilesAbsolutePath'] = '' ;
$Config['UserFilesAbsolutePath'] = $config['uploads_path'];
Re: web page dialog 404 error
Posted: Thu Nov 01, 2007 2:26 am
by Roderic
Mark,
I tried your suggestion below, and I also uninstalled TinyMCE and re-installed it again. I still get the 404 error.
Just to be clear and for anyone else who wants to try and help.... this domain is physically located under another domain. So, the root directory of
www.mascotfactory.com is at
www.mascotfactoryinc.com/MascotFactory/
I don't know if this matters or not, but in case there is a path issue that someone else sees...
So, I'm still stuck... If anyone can offer any new suggestions, I'd really appreciate it.
Thanks,
Roderic