Sign In  |  Cart  |  Join Now

Add Content page not working

January 18, 2010
Status: New
Priority: High

How important is this to you?

Very
Somewhat
Not important
Please Login to Vote
I just installed Concrete5 for the first time. I have not installed any themes or addons.

I immediately try and add a new content block and it goes blank, stalls, then the website goes entirely blank. If I refresh it takes me back to the beginning.

I have tried both firefox and safari with neither working.

I have looked around on the forums with no luck.

update

Jan 18, 2010 at 1:28 AM
On the firefox error console the two errors I get are "jQuery is not define" and "Tinymce is not defined" (which is repeated multiple times)
 

Same Issue

Jan 26, 2010 at 6:33 PM
Same issue with me. I'm running it on MAMP; built a new database, re-downloaded & installed C5 & still not working.
 

Issue fixed

Jan 26, 2010 at 6:57 PM
Turns out there was a problem in the urls.php file.

Take the code that starts with this:

/** 
    * Gets a full URL to the directory containing all of a block's items, including JavaScript, tools, icons, etc...
    * @param BlockType $bt
    * @return string $url
    */


...all the way down to this :

return $url; 
       }


And replace it with this:

/** 
    * Gets a full URL to the directory containing all of a block's items, including JavaScript, tools, icons, etc...
    * @param BlockType $bt
    * @return string $url
    */
   public function getBlockTypeAssetsURL($bt, $file = false) { 
           $url = ""; 
           $ff = ''; 
           if ($file != false) { 
               $ff = '/' . $file; 
           } 
           if ($bt->getPackageID() > 0) { 
               $db = Loader::db(); 
               $h = $bt->getPackageHandle(); 
               $url = (is_dir(DIR_PACKAGES . '/' . $h)) ? BASE_URL . DIR_REL : ASSETS_URL;
 

This works!

Feb 14, 2010 at 9:22 AM
@guitarmy Hey, thanks, this fix works!
 
 

Hot Spots...

ForumsPartners | Contact | Blog

Search site