Elgg Installation Problems - elgg

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.

Related

Adding the headers-more-nginx-module to NGINX

I've been trying so hard to resolve this myself over the last week or so but I'm banging my head against a brick wall now!
Long story short, I'm getting a CORS error and I've been trying to fix the issue using the add_header 'Access-Control-Allow-Origin' '*' always; command in every place I can think of and with commas and single quotes in various places. My nginx install is a mainline release 1.15.3 on CentOS 7.
I soon figured that this module must be installed by default and adding the above line to the location / {} block in default.conf should be fine. I then added the extension to Firefox to make sure it worked (as a temp measure) and found that I got a 500 error. So now (not sure why) I have the extension disabled and the above line added to the default.conf file and I'm still getting the 500 error - which is good in a way! Now I want to install the -more- module to get over the 500 error I am now getting, as to my understanding the basic header module cannot deal with 500 errors.
My biggest problem at the moment is not being able to add this module to my nginx install. Looking online I see instructions for recompiling nginx with the module using the ./configure command (./configure --prefix=/opt/nginx --add-module=/path/to/headers-more-nginx-module) but I have no configure file in my nginx root directory (which is actually etc/nginx). I have no idea how to handle this really and could do with some advice please.
I did run nginx -V to list the modules that where supposedly installed with my instance of nginx but there was no mention of any header module so my assumption of the basic module being installed out of the box could also be wrong.

Wordpress warning: mysqli_real_connect()

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.

How can I access my Wordpress dashboard after receiving the following error message

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. :)

Error 404: Not Found Fuseki

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.

PHPStorm rename remote files failing

I am using PHPStorm 8.0.1.
I am working on a Symfony Project which runs on an nginx webserver on a debian system.
I have set up Automatic Deployment correctly and everything works very well, except of renaming the remote files.
PHPStorm fails with the message: "Failed to rename file 'filename.extension' to 'filename.extension': could not determine if file 'path to file' is writeable. (Could not get the groups id of the current user (error code: 1))
Can Anybody here point me in the direction on how to solve this error?
I had exactly the same problem. Reason: chroot enabled (thanks BloodandDeath for comment). In my Hestia panel settings, I just switched the SSH user setting from nologin to bash, after which PHPStorm started renaming files without error. By the way, everything worked well in Filezilla without changing the settings, which suggests a bug in PHPStorm ...

Resources