The verification code for installing PHP programs is not displayed. how can this problem be solved?

Source: Internet
Author: User
The verification code for installing PHP programs is not displayed. how can this problem be solved? Someone else's website can display the verification code normally. I am using the same program as him. 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 guess it may not be a problem with the program, but I don't know anything about PHP. I heard him say that this program "needs to enable mysql event ", I don't know what it means to "enable mysql event" or why?

The following code calls the verification code:
Time?> "Title =" cannot see clearly, change an image "onclick =" this. src = '/index. php/user/vcode/'+ (new Date ()). getTime () "/>

I couldn't find the called file, so I couldn't post the code.

Click the "log on" button. my website prompts "object Error", and other website prompts "incorrect verification code ".

My server installation environment is installed using XAMPP Control Panel. how can I solve this problem?


Reply to discussion (solution)


What framework is written here? Only the image link below can be seen in ie

Will the related function be disabled?

Thanks to the moderator and hu5487 for their answers, I cannot see what the framework is. The following is a program directory path:


The index. php homepage code is as follows:

 DebugLevel = $ conf ['debug'] ['level']; if (! Method_exists ($ jms, $ action) notfound ('method does not exist'); $ reflection = new ReflectionMethod ($ jms, $ action); if ($ reflection-> isStatic ()) notfound ('Do not allow calling Static modifier method'); if (! $ Reflection-> isFinal () notfound ('method that can only call final modify'); $ 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']) {// form call $ 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 {// normal 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 '); die ($ message );}


What framework is written here? Only the image link below can be seen in ie

Have you modified your program file?
The verification code is connected to http: // 175.41.22.58: 7866/index. php/user/vcode.
Contains three BOM headers, causing damage to image data
Please save the modified program as a file without BOM header

Have you modified your program file?
The verification code is connected to http: // 175.41.22.58: 7866/index. php/user/vcode.
Contains three BOM headers, causing damage to image data
Please save the modified program as a file without BOM header
Thanks to the moderator, this is indeed the problem.

I can solve this problem.

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.