web page dialog 404 error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Roderic
New Member
New Member
Posts: 8
Joined: Fri Feb 23, 2007 5:17 am

web page dialog 404 error

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: web page dialog 404 error

Post by Dr.CSS »

more input...
Roderic
New Member
New Member
Posts: 8
Joined: Fri Feb 23, 2007 5:17 am

Re: web page dialog 404 error

Post 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
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: web page dialog 404 error

Post by RonnyK »

Roderic,

check the paths in the config.php.

Ronny
Roderic
New Member
New Member
Posts: 8
Joined: Fri Feb 23, 2007 5:17 am

Re: web page dialog 404 error

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: web page dialog 404 error

Post 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'];
Roderic
New Member
New Member
Posts: 8
Joined: Fri Feb 23, 2007 5:17 am

Re: web page dialog 404 error

Post 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
Post Reply

Return to “CMSMS Core”