PHP error after moving Codeigniter to server - php

For a client of us, we have moved the website to our server. Everything went well with the move except for one page. When you go to this page. I get this error
How can I solve this?
Maybe good to know, so I am not an expert.
Greetz,
Remy

Related

Error 409 – Contact Form scripts and styles not loading

I have been pulling my hair out over the last couple days trying to figure this issue out. Feels like i’ve tried everything, so i’m finally resorting to here. All of a sudden, the contact forms on my site just stopped working. The AJAX feature doesn’t work and there’s a red border under all my contact forms, which is the red border for the error message. When I view the console, a number of errors show up, with resources that are failing to load, all of which are scripts and styles that the plugin depend on to actually work.
But the issue is quite strange, because the forms only stop working when I am connected to a particular network. I have two Wi-Fi networks at home and when I connect to one, the forms work perfectly and when I connect to the other, it breaks. It led me to believe that it was a caching issue so I did the following:
Cleared my browser cache
Cleared the WordPress cache
Contacted Hostgator to clear the server cache
Reset both my routers
Even went as far as doing ipconfig /flushdns in command prompt as I saw someone suggest that, because they were having the exact same issue.
None of that worked, and even though I know that the issue isn’t with the theme or conflicting plugins, I still
Deactivated all the plugins besides Contact Form 7 to see if that would fix the issue
Switched from my theme to the default WordPress theme
Reverted to an older version of Contact Form 7 (ver. 5.1.6 as this is the version I have on another site, also hosted on Hostgator, that works perfectly.)
Unfortunately, none of this worked either. I am assuming the problem has to be on either my end or on Hostgator’s end, because I have sent the link to other people who are not on my network, and they don’t have an issue. The forms work as they should. I am really not sure what’s causing this so I am hoping someone would be able to give me some suggestions or support please
Hostgator hasn’t helped me. They checked to see if my IP was blacklisted or something and it wasn’t, and like I said, they cleared the server cache and still nothing. What do I do? After researching the issue on my own, I've realized that this is a problem many people face with Contact Form 7 and Hostgator/Bluehost, but I haven't found a proper solution yet...
UPDATE: Apparently the issue arises because of the word "contact" being in both the URL and the scripts/styles/images? That's the weirdest thing i've ever heard of, but apparently that's the issue? I had a banner image on my site named "contact-bg.jpg" that wouldn't load, got a 409 error for that as well. I changed the name of it to "get-in-touch-bg.jpg" and it loaded just fine. Unfortunately changing the slug from contact-us to get-in-touch didn't work. Is there a way to completely change the name of the contact form 7 plugin, removing the word contact from all the files and still have the plugin work?? See this question: Failed to load resource: the server responded with a status of 409
So, seems like this issue had nothing to do with plugins or the theme or anything. Apparently it had to do with my IP address and my webhost blacklisting my IP for some reason. I had to contact them and have them whitelist it in order for the contact forms to start working properly. This probably wouldn't work for everyone/wouldn't be the case for everyone, but it worked for me.

"The page cannot be displayed because an internal server error has occurred" on Azure WordPress

Could not find any solution on the web after hours and hours of research... Please help..
I have a question that relates to internal server error or watever thats been happening..
What i did that caused such error ?
The answer is nothing.. I only created a new web app -> WordPress and linked with free plan with clearDB mercury plan...
So, the first time that i did was a success however, when i linked it with my github repo. I had included .gitignore and only pushed wp-content files to github.. Seems when i synced azure merged only the files on the repo..
So, i deleted the resource again and started from scratch..
and now i have been getting this annoying error "The page cannot be displayed because an internal server error has occurred."
Checked kudu cmd, application settings.. could not find anything related... I mean i am not someone who has experience on azure.. So, anyone here please help out.. really frustated..
P.S i checked source code by logging through FTP as well .. everything seems to be in place...
NOTE: This topic relates to a WordPress site.
THANX

How do I actually setup SSO with Vanilla jsconnect?

I have a site with a basic members auth system built into it, I wanted to allow the logins for this site to also work on a vanilla forum using the jsconnect plugin. The forum is built within a folder of the site.
I've been through the documentation for the jsconnect plugin for vanilla forum.
However I can't quite grasp the process of actually setting it up, This is where I'm at right now;
I've downloaded and installed the jsconnect plugin within vanilla forum, I can access it within settings. However when i try to add a connection, once I hit submit I get a blank error screen:
Something has gone wrong.
We've run into a problem and are unable to handle this request right now.
Please check back in a little while.
I'm assuming this has something to do with me needing to have set up an Authenticate Url that goes somewhere, however what is it supposed to point to?
I read that I need to have a jsonp file however when i look at the jsconnect repo https://github.com/vanilla/jsConnectPHP Theres an index.php file that seems to handle the authentication, is that right?
Essentially I'm looking for some guidence on how I should proceed,
Any help would be sure appreciated!
you need to download the index.php file, then change the path for functions.jsconnect.php to /plugins/jsconnect/functions.jsconnect.php.
then add a connection and test url.

Php reCaptcha not showing on server

I am a new PHP programmer. I am using reCaptcha for my website. It was showing normally earlier but does not show up now. The code is working on my localhost.
I have signed up for reCaptcha, entered my domain name and obtained the generated keys. After that, I downloaded the reccaptchalib.php and deployed it to my server.
Kindly help me as I don't know what to do next.
Thanks in advance!
Are you getting any PHP errors in the logs? Is it possible that you moved the reCaptcha library to a different path or moved the script?
I had a similar problem and it was caused by "cleaning up" and I moved the reCaptcha library into a subfolder.

Recaptcha does not work locally

There is absolutely no errors in coding, it just does not seem to work locally, but works perfectly online. It is important I get it working locally because of development purposes. Not form submission, but page display.
Any ideas on how I cam make the recaptcha to work locally.
Thanks
Jean
Recaptcha is an online web service, thus it will work only online.
You cannot make it work offline.
Edit:
Your problem seems not to be your internet connection but a PHP error, since your comment talks about a "white page". Please search the web (or stackoverflow) for "php white page" to get debugging instructions.
Are you using XAMPP, if so, I found that if you put your files in htdocs in XAMPP folder the recaptcha works. According to google, their recaptcha will work on localhost. I'm sure there's a lot more logical solution than what I have, but this is what worked for me, hope it helps you too.

Categories