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
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
Can't edit page or save settings (move win -> linux) - 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: Can't edit page or save settings (move win -> linux) (/showthread.php?tid=4518)



Can't edit page or save settings (move win -> linux) - whiteh0rs3 - 2013-03-22

Hi all,

I have a situation:

- I installed GS(3.2.0) on localhost (windows) and then upload to the server (linux).

After that I do adjustment, such as:
  • Change RewriteBase in gspath/.htaccess
  • Change the website url in gspath/data/other/website.xml
  • Chown myuser:myuser all files and directories in gspath/
  • Chmod 0755 all *.xml files in folder gspath/data/pages/ and gspath/data/users/
  • mod_rewrite confirmed that is active and working by visiting the frontpage

The problem is:
  • I can not edit the previous pages I created on localhost
  • I can not save the changes I did in Website Settings, the save button is always redirect me to 404 page

Please help..! Can you suggest what steps I have to do to solve the problem?

Thanks before..


RE: Can't edit page or save settings (move win -> linux) - Timbow - 2013-03-22

Did you install a vanilla copy of GetSimple on the server then upload selected folders as per the wiki instructions, ? or just upload the whole thing?

I have never done any of the things in your list. Just change the website url in Admin under settings and then go through the site correcting link urls (mainly images)


RE: Can't edit page or save settings (move win -> linux) - whiteh0rs3 - 2013-03-22

I did both methods, on each method I keep having the same problem.
Let say the "selective folder" is method 1 and the "whole thing" is method 2,

With method 1:
- i install first the gs default package, i don't get any problem at all.
- after I upload the selective folder, like everything inside data/, plugins/, and themes
- and then doing adjustment steps (as it is written above)
- and the problem arise

With method 2:
- upload the whole package
- adjustment steps
- and the problem arise

I really do not know what is causing the problem, please anyone have an idea?


RE: Can't edit page or save settings (move win -> linux) - shawn_a - 2013-03-22

Sounds like a path problem if you get a 404


RE: Can't edit page or save settings (move win -> linux) - whiteh0rs3 - 2013-04-11

hi, thank you for the suggestions.

It seems that i already have the solution. I notice it when i can't upload any files to data/uploads/ folder.
After talking to the hosting owner, they told me that they have to make an adjustment to their apache mod_security configs. I'm not sure what config they have changed to make it works, but it works!


RE: Can't edit page or save settings (move win -> linux) - shawn_a - 2013-04-11

I have to do this also, it detects page submissions as a reflected xss attack.