Database error while submitting the form in CodeIgniter - codeigniter

I have a problem in CodeIgniter. Previously when I have submitted a form which was uploaded in the server it run properly. But now I uploaded the same form in the server and while running it is giving 1048 error number.
The same form is running fine in the local host. But error is coming when I uploading the same in Server saying fields are NULL. But code is ok.
Screenshot:

There must be miss configuration or MySQLi version issue. In latest version it asks to define default value of each column.
It can be handled, if you have WHMCS access.

Related

Laravel Nova Tag field results in 404 on production

I seriously cannot wrap my head around this.
Locally the tag field of Laravel Nova 4.0 works like a charm (https://nova.laravel.com/docs/4.0/resources/fields.html#tag-field). On production it results in a 404 page on the resource-detail page.
Everything seems to be the same. Same laravel nova version (4.20.2), same data, same other packages.
I've narrowed it down to this call being sent on production:
Request URL: https://api.foodinfluencersunited.nl/nova-api/tags/23a1f0b3-eaac-45c3-b6da-7c1acda08f9d/preview
Which is not sent locally. This call should either not be sent on production (since the tagField has "withPreview" off, or at least it should be sent to:
Request URL: https://api.foodinfluencersunited.nl/nova-api/roles/23a1f0b3-eaac-45c3-b6da-7c1acda08f9d/preview
Since the uuid which is sent is the UUID of a Role-resource.
Does anyone have any idea where I should search for the solution?
I'm trying to at least get the error locally as well.
Imported the production data to local server and made sure that everything else is similar.
It appeared I had out-of-date js on one of my production servers. php artisan nova:publish did not run automatically on one of them. That solved my issue.

"simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name" Error thrown on editing a module data in laravel

I have a "SOURCE" module in laravel project. The edit functionality was working fine before I changed the DB. I added a column in DB table "source". After adding it, whenever I try to edit the source data from admin panel, the data gets modified but shows the error: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name
I am using API's in my project where I have used the function simplexml_load_string(). But this was working fine before I added a column to the DB. What could be a possible reason and solution for it?
I figured out the issue. The issue was with my apache server version. To resolve the issue with the CURL extension of PHP, I installed Apache AddOn (Version - 2.4.28) to support PHP (>7.2) extensions. I downloaded the same from here - https://wampserver.aviatechno.net/ and install it at my end. Restart the Wamp Services and choose the updated version of Apache web server. And it was resolved.

intervention-image with laravel 5.2 on ubuntu-server breaks the other calls

I am using laravel 5.2 to write services for a mobile app. all the calls are working fine. My project is deployed in ubuntu server.
Now I want to resize the uploaded images inorder to maintain same performance. I thought of trying intervention-image.
In local machine it worked fine. I installed intervention-image and set the provider and alias name, I included the alias name to controller. Once I do that and update the server, all the other calls are getting effected. I am getting 505 error.
It's the intervension-image which is causing this problem, I checked with previous upload and I am getting all the calls. Any suggestions?
I suggest you create a dev environment like your production , use vagrant . About error 505 check you error log file to have more detail about the bug

Magento - Authentication Credentials Invalid

I am having an error trying to make a request:
Then when I submit I have the next error:
The 1003887036428 error report file:
Recently the system worked like a charm but it has to migrate to another host and this error started to appear in the actual hosting. I dont know why.

Suspected IIS7.5 Connector Issue Tomcat & Coldfusion 10 if over certain size ajax call

I have test a form submission on my local testing server and all is good.
However once the code is uploaded to Coldfusion 10 on IIS7.5 it fails.
Basically if I have 2 contact details on the screen its fine, if there are three it refuses to update via ajax (called via ajaximport).
The url length is 2.48kb, the error varies from
"NS_ERROR_FAILURE: Failure"
Other times I get a 500 server error with
http://m.yapcrm.com/sites/dump/ii7errorlongajaxcall.cfm
I have checked the usual subjects and tweaked the server, but no joy..
Best I can figure its the connector to Tomcat as its the ISAPifilter picking up the issue.
In short, any hints or help would be great!!
As suggested above, no solution was found. However changing the default method from Get to Post
Example for reference anybody else.
var submitForm = new UpdateContact();
**submitForm.setHTTPMethod("POST");**
submitForm.setCallbackHandler(response);
submitForm.setErrorHandler(errorHandler);
submitForm.setForm("testValidator");
submitForm.UpdateContact();
UpdateContact() being the CFC method called via cfAjaxProxy.

Resources