Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

error when change question directory

+1 vote
121 views
asked Sep 14, 2016 in Q2A Core by penitentamin

hi

i get this error when i change my question directory:

Warning: require_once(/home/shiasayc/public_html/ask/qa-include/qa-install.php): failed to open stream: No such file or directory in /home/shiasayc/public_html/ask/qa-include/qa-page.php on line 49

Fatal error: require_once(): Failed opening required '/home/shiasayc/public_html/ask/qa-include/qa-install.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/shiasayc/public_html/ask/qa-include/qa-page.php on line 49

i try to remove this error by add qa-install file again in folder (i removed that for better security)
 but this time another error appeared and say go to error-log file. i check error file, 2 erroe there:

[13-Sep-2016 23:07:37 America/Chicago] PHP Notice:  Undefined index: who in /home/shiasayc/public_html/ask/qa-include/qa-base.php(572) : eval()'d code on line 30

and

[13-Sep-2016 23:07:47 America/Chicago] PHP Question2Answer MySQL query error 1366: Incorrect string value: '\xDB...\x09e...' for column 'params' at row 1 - Query: INSERT INTO qa_eventlog (datetime, ipaddress, userid, handle, cookieid, event, params) VALUES (NOW(), '46.224.252.15', '8', 'العبد', NULL, 'q_edit', 'postid=841	title=افکار مزاحم و توهین ب...	content= <p style=\"text-align:justify\">&#1587;...	format=html	text=&#1587;&#1604;&#1575;&#1605; &#1575;&#...	tags=نماز,افکار مزاحم,توه�...	extra=	name=	oldquestion=array(72)	silent=	oldtitle=افکار مزاحم و توهین ب...	oldcontent= <p style=\"text-align:justify\">&#1587;...	oldformat=html	oldtags=نماز,افکار مزاحم,توه�...	titlechanged=	contentchanged=	tagschanged=')

i guese maybe change host php version cause that (i have mysql to mysqli problem in other part of my site now)

please help me to solve problem

thanks

commented Sep 18, 2016 by Scott
Those last two links look the same to me. And neither show an error.
commented Sep 19, 2016 by penitentamin
No...those are child of this parent directory:
http://shiasay.com/ask/questions/%D9%85%D8%AA%D9%81%D8%B1%D9%82%D9%87

yes..these directories are  without error but problem is when i try to change any question in any directory (for example those directories) by admin acount, i get error
(i hit edit buton in question page...i can edit title, text and tagsT but when i try to change direcrory of that question, i see error page!)

thank u for your helping ;-)

Please log in or register to answer this question.

...