GetSimple Support Forum
PROBLEM installed - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5)
+--- Thread: PROBLEM installed (/showthread.php?tid=8504)



installed - bengt65 - 2016-06-14

Hey,

have unzip cms to my webserver apache.
used :
http://get-simple.info/wiki/installation

try then run http://localhost/simple/
and get something wrong:

title; $date = $data_index->pubDate; $metak = $data_index->meta; $metad = $data_index->metad; $url = $data_index->url; $content = $data_index->content; $parent = $data_index->parent; $template_file = $data_index->template; $private = $data_index->private; // after fields from dataindex, can modify globals here or do whatever by checking them exec_action('index-post-dataindex'); # if page is private, check user if ($private == 'Y') { if (isset($USR) && $USR == get_cookie('GS_ADMIN_USERNAME')) { //ok, allow the person to see it then } else { redirect('404'); } } # if page does not exist, throw 404 error if ($url == '404') { header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); } # check for correctly formed url if (getDef('GSCANONICAL',true)) { if ($_SERVER['REQUEST_URI'] != find_url($url, $parent, 'relative')) { redirect(find_url($url, $parent)); } } # include the functions.php page if it exists within the theme if ( file_exists(GSTHEMESPATH .$TEMPLATE."/functions.php") ) { include(GSTHEMESPATH .$TEMPLATE."/functions.php"); } # call pretemplate Hook exec_action('index-pretemplate'); # include the template and template file set within theme.php and each page if ( (!file_exists(GSTHEMESPATH .$TEMPLATE."/".$template_file)) || ($template_file == '') ) { $template_file = "template.php"; } include(GSTHEMESPATH .$TEMPLATE."/".$template_file); # call posttemplate Hook exec_action('index-posttemplate'); ?>

runing apache with php7 , think something is wrong.
Have checked Server Requirements and everything is installed.
Or use XAMPP


RE: installed - shawn_a - 2016-06-14

That is raw php code meaning php is not processing


RE: installed - bengt65 - 2016-06-14

How can fix that, is php not runing on apache!!


RE: installed - shawn_a - 2016-06-14

Nope


RE: installed - bengt65 - 2016-06-14

I found an solution:
http://tecadmin.net/install-php-7-0-apache-2-4-mysql-5-6-on-ubuntu/#
have to fix:
1. Folder Permissions
2. GD Library
3. ZipArchive

after that is fixed will that work..


RE: installed - shawn_a - 2016-06-14

I would think this is more than a permissions issue


RE: installed - bengt65 - 2016-06-14

Good morning, was folder permissions and GD Library and now works great.
Have to work outside to that do later