|
You are here: Home / PHP showing in SideBar Menus on Index
PHP showing in SideBar Menus on Index
Forum /
Installation /
PHP showing in SideBar Menus on Index
Reply
Subscribe
Start new thread
Syndicated Feed (RSS)
|
Displaying 1 to 2 of 2
|
Previous
1
Next |
| Author |
Message |
safariphoto
Posts: 1
|
|
PHP showing in SideBar Menus on Index - Posted: July 24, 2008 - 11:50 PM
|
Quote and reply
|
I'm new to PHP and Sitellite
So finally after have a fun time trying to install, I gave up on putting the site into a subdirectory. After installing and getting the permissions just right I find I have a slight problem. The problem is when the index is loaded there is PHP code in the sidebar and when control panels are loaded it shows the same PHP code at the top.
Index extras
It is located above the add New SideBar button
n => $name) { if ($cgi->{'_' . $this->field} == $option) { $selected = ' selected="selected"'; } else { $selected = ''; } if ($this->count) { $func = ($this->rex->isVersioned) ? 'getStoreList' : 'getList'; list ($from, $to) = explode (' - ', str_replace ('$', '', $option)); $c = $this->rex->{$func} (array ($this->field => new rRange ($this->field, $from, $to)), 0, 0, false, false, true); if ($c === false) { $c = '0'; } $total = ' (' . $c . ')'; } else { $total = ''; } $out .= TABx2 . '
and also below the main menu
el) . "
\n"; } } // call the walker, which generates the menu sitellite_nav_list_walker ($menu->tree, $trail, $template); ?>
Any Ideas? I can't the file the code is in to see if there is a parsing error.
I'm using Sitellite 4.3.3-beta on a XServe using OSX and Apache/1.3.33 Server
Thanks,
|
|
Back to top
|
|
lux
Posts: 645
Location: Manitoba, Canada
|
|
Re: PHP showing in SideBar Menus on Index - Posted: July 28, 2008 - 12:49 AM
|
Quote and reply
|
safariphoto said:
I'm new to PHP and Sitellite
So finally after have a fun time trying to install, I gave up on putting the site into a subdirectory. After installing and getting the permissions just right I find I have a slight problem. The problem is when the index is loaded there is PHP code in the sidebar and when control panels are loaded it shows the same PHP code at the top.
Index extras
It is located above the add New SideBar button
n => $name) { if ($cgi->{'_' . $this->field} == $option) { $selected = ' selected="selected"'; } else { $selected = ''; } if ($this->count) { $func = ($this->rex->isVersioned) ? 'getStoreList' : 'getList'; list ($from, $to) = explode (' - ', str_replace ('$', '', $option)); $c = $this->rex->{$func} (array ($this->field => new rRange ($this->field, $from, $to)), 0, 0, false, false, true); if ($c === false) { $c = '0'; } $total = ' (' . $c . ')'; } else { $total = ''; } $out .= TABx2 . '
and also below the main menu
el) . "
\n"; } } // call the walker, which generates the menu sitellite_nav_list_walker ($menu->tree, $trail, $template); ?>
Any Ideas? I can't the file the code is in to see if there is a parsing error.
I'm using Sitellite 4.3.3-beta on a XServe using OSX and Apache/1.3.33 Server
Thanks,
This sounds like Apache needs a configuration change. Have you seen the Sitellite on OSX document?
http://www.sitellite.org/newdocs/sitellite_on_macosx.pdf
Let me know if that helps.
Lux
|
|
Back to top
|
View user profile
Contact this member
|
|

|