PHP program Installation Verification Code does not show how to solve?

Source: Internet
Author: User
Other people's website can display the verification code normally, I and he is the same program, I do not display the verification code after installation.

http://175.41.22.58:7866/this is my website.
http://www.83990022.com/This is someone else's website

Since it is the same program, I estimate may not be the problem of the program, but I do not understand PHP, I heard him say that the program "need to enable MySQL event", I do not understand "need to enable MySQL event" What is meant, do not know whether this is the reason?

Here is the code called by the CAPTCHA:
Time?> "title=" cannot see clearly, change a picture "onclick=" this.src= '/index.php/user/vcode/' + (new Date ()). GetTime () "/>

I can't find the calling file, so I can't put the code on it.

Also a little sign-in button, my site is prompted by the "Object Error", someone else's site prompt is "incorrect verification code."

My server installation environment is installed with XAMPP Control panel, how can i solve this problem?


Reply to discussion (solution)


What is this frame written about? Only in IE can see the picture link below

Could it be that the related function didn't open?

Thank you and hu5487 answer, I can not see what is the framework. The following is the program directory download diagram:


The index.php home code is as follows:

 debuglevel= $conf [' Debug '] [' Level '];if (!method_exists ($JMS, $action)) NotFound (' Method not present '); $reflection =new Reflectionmethod ($JMS, $action), if ($reflection->isstatic ()) NotFound (' method not allowed to invoke static adornments '); if (! $reflection IsFinal ()) NotFound (' Can only invoke the final modified method '); $jms->controller= $control; $jms->action= $action; $JMS->charset=$ conf[' db ' [' CharSet ']; $JMS->cachedir= $conf [' Cache '] [' dir ']; $jms->setcachedir ($conf [' Cache '] [' dir ']); $ jms->actiontemplate= $conf [' Action '] [' template '], $jms->prename= $conf [' db '] [' prename ']; $JMS->title=$ conf[' web ' [' title '];if (method_exists ($JMS, ' getsystemsettings ')) $JMS->getsystemsettings (); if ($JMS, settings[' switchweb ']== ' 0 ') {$jms->display (' close-service.php '); exit;} if (Isset ($page)) $JMS->page= $page, if ($q =$_server[' query_string ') {$para =array_merge ($para, Explode ('/', $q));} if ($para ==null) $para =array (); $jms->headers=getallheaders (); if (Isset ($jms->headers[' X-call '])) {// Function call header (' Content-type:application/json '); Try{ob_start (); Echo JSon_encode ($reflection->invokeargs ($JMS, $_post)); Ob_flush ();} catch (Exception $e) {$jms->error ($e->getmessage (), True);}} ElseIf (isset ($jms->headers[' X-form-call ')) {//table monotonic with $accept=strpos ($jms->headers[' accept '], ' application/ JSON ') ===0;if ($accept) header (' Content-type:application/json '); Try{ob_start (); if ($accept) {echo Json_encode ($ Reflection->invokeargs ($JMS, $_post));} Else{json_encode ($reflection->invokeargs ($JMS, $_post));} Ob_flush ();} catch (Exception $e) {$jms->error ($e->getmessage (), True);}} ElseIf (Strpos ($jms->headers[' Accept '), ' Application/json ') ===0) {//Ajax call Header (' content-type:application/ JSON '); Try{//echo Json_encode ($reflection->invokeargs ($JMS, $para)); Echo Json_encode (Call_user_func_array ( Array ($JMS, $action), $para));} catch (Exception $e) {$jms->error ($e->getmessage ());}} else{//General request header (' content-type:text/html;charset=utf-8 ');//$reflection->invokeargs ($JMS, $para); call_user_ Func_array (Array ($JMS, $action), $para);} $JMS =null;funCtion NotFound ($message) {header (' Content-type:text/plain; Charset=utf8 '); header (' http/1.1 404 Not Found ');d IE ($ message);}


What is this frame written about? Only in IE can see the picture link below

Your program files have been modified by you?
Verification code in connection Http://175.41.22.58:7866/index.php/user/vcode
Contains 3 BOM headers, causing the image data to be destroyed
Please re-save your modified program to a non-BOM header file

Your program files have been modified by you?
Verification code in connection Http://175.41.22.58:7866/index.php/user/vcode
Contains 3 BOM headers, causing the image data to be destroyed
Please re-save your modified program to a non-BOM header file
Thanks to the moderator, this is really the problem.

I can handle this.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.