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.
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:
...all the way down to this :
And replace it with this:
Take the code that starts with this:
<?php
/**
* 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
*/
?>
/**
* 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 :
<?php return $url;
} ?>
} ?>
And replace it with this:
<?php /**
* 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;
* 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;
Viewing 15 lines of 27 lines. View entire code block.





jfrankens
update