PowerCMS 2.1.1 Installation Issues
I have tried many times to install. I am using Dreamweaver CS4. I create database in mysql, upload the file "powercms"....and all I get is a blank screen. Please help!!!
For some reason, when I changed the name of the folder to powercms, not all the links updated. Some did and some
did not. I am now going to each page to check the links. Would this be a programmatic issue with the script, or would
it be a Dreamweaver issue not updating the links?
I found an older post that partially helped for me, but it is still not changing all the links. I am really frustrated. Anyone who can assist would be greatly appreciated.
I edited WA_CMS.php as follows:
Changed this:
$result = '<div onclick="document.location.href=\''.$rootDir.'?Con tentID='.$row_CMSContent['ContentID'].'&returnPage='.$_SERVER['PHP_SELF'].((isset($row_CMSContent['ContentPageSetOrder']))?"?".$group."=".$row_CMSContent['ContentPageSetOrder']:"").'\'" onmouseover="document.getElementById(\'content_'.$ divID.'_'.$row_CMSContent['ContentID'].'\').style.cssText=(\' position:absolute;background-image:url('.$newDir.'/semi_transparent1.png); z-index:1000; width:\'+this.offsetWidth+\'px;height:\'+this.offs etHeight+\'px\')" onmouseout="document.getElementById(\'content_'.$d ivID.'_'.$row_CMSContent['ContentID'].'\').style.cssText=\'position:absolute;background-image:url('.$newDir.'/semi_transparent1.png); z-index:1000;visibility:hidden\'">
<div id="content_'.$divID.'_'.$row_CMSContent['ContentID'].'" style="position:absolute;background-image:url('.$newDir.'/semi_transparent1.png); z-index:1000;visibility:hidden"> </div>
<div style="position:absolute;z-index:1001;margin-top:-15px;margin-left:-17px">
<img src="'.$newDir.'/CMSedit.png" border="0" onclick="document.location.href=\''.$rootDir.'?Con tentID='.$row_CMSContent['ContentID'].'&returnPage='.$_SERVER['PHP_SELF'].((isset($row_CMSContent['ContentPageSetOrder']))?"?".$group."=".$row_CMSContent['ContentPageSetOrder']:"").'\'" />
</div>';
To this:
$result = '<div onclick="document.location.href=\'/'.$rootDir.'?ContentID='.$row_CMSContent['ContentID'].'&returnPage='.$_SERVER['PHP_SELF'].((isset($row_CMSContent['ContentPageSetOrder']))?"?".$group."=".$row_CMSContent['ContentPageSetOrder']:"").'\'" onmouseover="document.getElementById(\'content_'.$ divID.'_'.$row_CMSContent['ContentID'].'\').style.cssText=(\' position:absolute;background-image:url(/'.$newDir.'/semi_transparent1.png); z-index:1000; width:\'+this.offsetWidth+\'px;height:\'+this.offs etHeight+\'px\')" onmouseout="document.getElementById(\'content_'.$d ivID.'_'.$row_CMSContent['ContentID'].'\').style.cssText=\'position:absolute;background-image:url(/'.$newDir.'/semi_transparent1.png); z-index:1000;visibility:hidden\'">
<div id="content_'.$divID.'_'.$row_CMSContent['ContentID'].'" style="position:absolute;background-image:url(/'.$newDir.'/semi_transparent1.png); z-index:1000;visibility:hidden"> </div>
<div style="position:absolute;z-index:1001;margin-top:-15px;margin-left:-17px">
<img src="/'.$newDir.'/CMSedit.png" border="0" onclick="document.location.href=\''.$rootDir.'?Con tentID='.$row_CMSContent['ContentID'].'&returnPage='.$_SERVER['PHP_SELF'].((isset($row_CMSContent['ContentPageSetOrder']))?"?".$group."=".$row_CMSContent['ContentPageSetOrder']:"").'\'" />
</div>';