I have a wordpress website in Godaddy but when i try to enter i get this issue:
warning: mysqli_real_connect(): Headers and client library minor
version mismatch. Headers:50519 Library:50633 in
/home/content/p3pnexwpnas16_data01/62/3653462/html/wp-includes/wp-db.php
on line 1538
Any solution?
Last time this happened to me it was about my hosting updating MySQL while the PHP version was still lower.
You can simply upgrade your PHP version within you panel (see this) or turn off WordPress debug or find the exact code and make it quiet. according to this link and this link.
Also it was said that you can use define('WP_USE_EXT_MYSQL', true); in your wp-config.php file.
Related
I am trying to start a project using Symfony on a Mac Sierra.
I installed Symfony successfully, but I get this warning:
We selected the timezone 'UTC' for now, but please set date.timezone
to select your timezone. in
phar:///usr/local/bin/symfony/src/Symfony/Installer/NewCommand.php on
line 283 ✕ Symfony 3.2.1 was successfully installed but your system
doesn't meet its
technical requirements! Fix the following issues before executing
your Symfony application: * date.timezone setting must be set
> Set the "date.timezone" setting in php.ini* (like Europe/Paris).
I tried to change php.ini with brackets editor on the created project on folders:
project/vendor/doctrine/cache/test/travis/php.ini
project/vendor/doctrine/doctrine-cache-bundle/test/travis/php.ini
Didn't help.
As I read Symfony has built-in Apache Server.
Those php.ini files are totally unrelated to what you have to do.
Open up the Terminal and type php -i | grep "php.ini". That should reveal the location of the php.ini which is used by PHP in console mode.
XAMPP is known for using different php.ini file for the server. In order to find the the one used by the XAMPP, run a sample php file with phpinfo() from browser.
Also, note that Symonfy itself does not have the built-in server. In merely used the one PHP provided from version 5.4 and on.
Hope this helps...
I am Mac user, so , in Finder you need to go to /private/etc, find php.ini.default,
Yo need to copy that file to the desktop. To edit you need to unlock the document. Just click Unlock if asked. Rename to php.ini, set the date.timezone=Europe/YourCountry and do not forget to erase the semicolon before.And finally save it and put it back to etc.
Watch: https://www.youtube.com/watch?v=Wb6Fh-B3W-o
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wp_resource_hints' was given in /websites/123reg/LinuxPackage22/ho/rs/ha/mywebsite.co.uk/public_html/blog/wp-includes/plugin.php on line 496
Fatal error: Call to undefined function wp_removable_query_args() in /websites/123reg/LinuxPackage22/ho/rs/ha/mywebsite.co.uk/public_html/blog/wp-admin/includes/misc.php on line 903
I have tried deactivating themes and plugins by temporarily renaming folder/files in my hosting cpanel, as suggested by others, but none of these methods have worked so far & I'm still locked out
I am using TwentyThirteen theme with Wordpress version 4.2.10
This really seems like your wordpress installation either got corrupted or an install / upgrade went badly.
I'd try reinstalling WordPress over your existing files, being careful not to overwrite anything in /wp-content or the root file wp-config.php. Everything else you'll want to replace. Just to be safe, it wouldn't hurt to make a backup of everything in the WordPress installation before you do this. :)
This is my first time using Apache Jena Fuseki 2.4.0. I'm trying to run my friend's ontology website, he said that he's using Apache Jena Fuseki so I need to install it first but, when I already installed it and then I ran a server and typed his website on address bar, I got this error
404: Error 404: Not Found Fuseki - version 2.4.0
. Here are the steps that my friend told me I need to follow.
I downloaded Apache Jena Fuseki 2.4.0
I unpacked it to directory C:\
I launched fuseki-server.bat
I went to http://localhost:3030/
I clicked Manage Datasets menu
I clicked Add New Dataset button
I typed "DOID" as Dataset Name and chose "Persisten" as Dataset Type and then I clicked Create Dataset
I clicked Upload Data and I selected doid.owl file, and then I clicked Upload Now
When the upload was successful, I ran my friend's website and got that error
Is there any wrong or missing step that I took? Please help me.
I don't know, suddenly it works! I tried to follow the set up from this site:
I downloaded some jars and then I edited fuseki-server.bat
I tried to comment and uncomment some line but, because I couldn't launch fuseki-server.bat at all after that, so I decided to undo a change on fuseki-server.bat
I launched fuseki-server.bat again but the command prompt disappear after the process has finished
I checked http://localhost:3030/ the server status was green and I tried to run my friend's website and then it worked!
I guess that the jars I've downloaded are the things that make it works.
I am working on installing collective.sendaspdf on a Plone 4.2.4 server.
This add-on provides two extra document action buttons, one "Send as PDF" and the other "View as PDF"
After following instructions on the packages pypi page. I get the following traceback when trying to click one of the aformentioned document action links:
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:04:50 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute
'_Thread__block'",) in <module 'threading' from '/home/dan/Plone/Python-2.7/lib/python2.7
/threading.pyc'> ignored
2013-02-13 14:05:55 ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
I have tried pinning wkhtmltopdf to the version it requires, under the [versions] heading but that has done nothing for me. I have tried just loading the collective.sendaspdf alone under the eggs section but again, that doesn't work either. I have tried manually downloading them, putting them into my src folder and configuring the develop section accordingly, but that again gives me the same error. I've even tried easy_install but I get the same problems.
The instructions on the pypi page can't be followed to the letter as I believe the url under the [wkhtmltopdf] heading leads to a corrupted archive (i can't use tar, gzip or bunzip2 to extract the files) however he does have zip files contaning the source I have tried manually downloading and using easy_install) but to no avail.
I've been researching the
ERROR collective.sendaspdf Running wkhtmltopdf failed. Please check that you
use a version compatible with your OS and the version is 0.9.
Error message that I'm getting but I don't seem to see any Plone users having difficulty, it seems most people are using this with Rails.
Does anyone know how I can:
Get this to work
Find an alternative way of converting HTML from Plone to a PDF.
I have tried Form2PDF, zopyx.smartpringng, and now collective.sendaspdf (this one I have gotten the furthest with) - except it is falling at the last hurdle
Thanks.
I fear you've failed at the first hurdle: installing wkhtmltopdf. Either visit https://code.google.com/p/wkhtmltopdf/ and follow their instructions for installation, or look there to find the URL for a version compatible with your system
I am running Apache2.2, with PHP5 and mod_rewrite enabled on a VPS running Ubuntu Hardy. And I am trying to install Elgg1.5. I uploaded it to /var/www, and changed the appropriate permissions.
When I hit the url, it brings me to the installation page where I provide the database info. When I submit the page, I get the following error in my access.log
"Cannot modify header information - headers already sent by (output started at /var/www/engine/lib/._access.php:1)" in file /var/www/engine/start.php (line 182)
I don't see any problems within the .htaccess and engine/settings.php file it creates, and no whitespaces before and after the php tag. Since I haven't hand-touched any files, I have no clue whats causing the error. Anyone's played with Elgg1.5 ?
Problem solved. It was some corrupt file.