The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
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
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
submenu
#9
andylorenz, pay attention
if you work with GetSimple on the local server and the path to the site is not straight (for example, site-name.com/demo1)
when transferring to the server will need to edit the file in the folder with .htaccess GetSimple

look at the bottom of the file:
Code:
# handle rewrites for fancy urls
<IfModule mod_rewrite.c>
    RewriteEngine on

    # Usually RewriteBase is just '/', but
    # replace it with your subdirectory path
    RewriteBase /demo1/

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
</IfModule>

important point RewriteBase

it is necessary to edit the file .htaccess when you move GS to another folder or Fancy URLs without this will stop working

few examples
if site on the local server site-name.com/demo/version1 then RewriteBase /demo/version1/
moved the site to a server in the root folder site-name.com then edit the file .htaccess RewriteBase /
I use machine translation. Forgive me my errors.
Reply


Messages In This Thread
submenu - by andylorenz - 2017-02-17, 05:57:07
RE: submenu - by andylorenz - 2017-02-17, 07:49:06
RE: submenu - by AleksK - 2017-02-18, 05:18:54
RE: submenu - by andylorenz - 2017-02-21, 00:09:20
RE: submenu - by Carlos - 2017-02-21, 01:36:38
RE: submenu - by andylorenz - 2017-02-21, 23:41:05
RE: submenu - by Timbow - 2017-02-22, 04:02:51
RE: submenu - by andylorenz - 2017-02-25, 00:01:46
RE: submenu - by AleksK - 2017-02-25, 01:18:35



Users browsing this thread: 1 Guest(s)