The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
PHP Parse error: syntax error, unexpected 'liststyle' - 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: PHP Parse error: syntax error, unexpected 'liststyle' (/showthread.php?tid=6505)



PHP Parse error: syntax error, unexpected 'liststyle' - Divita - 2014-06-19

I'm seeing the following when attempting to install 3.3.2:

1. first visit to GS root produces:
Quote:http://localhost/index.php - This page is temporarily unavailable

2. if I visit GS root again:

Quote:http://localhost/install/index.php?route=/complete - Not Found, The requested URL /install/index.php was not found on this server.

Apache error log shows:

Quote:[Wed Jun 18 14:38:06.456866 2014] [:error] [pid 1548:tid 2272] [client ::1:50662] PHP Parse error: syntax error, unexpected 'liststyle' (T_STRING) in C:\\localhost\\www\\gsconfig.php on line 60

3. if I visit /admin/install.php then GS installs without problem.

I'm seeing the same on localhost (http://www.uniformserver.com/) and my remote hosting. Looks like I'm the first with this problem. Any suggestions please?


RE: PHP Parse error: syntax error, unexpected 'liststyle' - shawn_a - 2014-06-19

I have no idea what unexpected liststyle means, what php version ?

The rest is as expected.

Install is at root/admin btw


RE: PHP Parse error: syntax error, unexpected 'liststyle' - Divita - 2014-06-19

(2014-06-19, 01:55:18)shawn_a Wrote: I have no idea what unexpected liststyle means, what php version ?

The rest is as expected.

Install is at root/admin btw

Of course. I'm being an idiot - I thought we could just navigate to root and it would automatically run the install. Perhaps that could be a feature request?

FYI - I just had a dig around the code, and 'liststyle' is a Ckeditor variable.


RE: PHP Parse error: syntax error, unexpected 'liststyle' - shawn_a - 2014-06-19

Installs and upgrades can no longer be run from root.

Did you add something to your gsconfig.php file ?