I've messed up a little bit with my php cms insallation and now I've problems loading the mediawiki Main_Page and I don't exactly know why. The error thrown by the server is a simple 404, so it doesn't explain that much to me. The only thing that could help me find out the solution is that I changed the virtual host configuration a couple of times in the server (Apache 2.4).
I'm guessing the problem is there but I don't have any further clue about how to solve it.
Has anyone experienced something like this?
I've to add that this is not a short URL problem, as i'm not trying to redirect the articles pages to a specific url, so this shouldn't be useful in my case.
From the information you provided, i guess you got some error in your pathing.
Have you tried running it locally via e.g. Mamp ?
Play around with you local_settings especially $wgScriptPath and $wgStylePath.
The error can usually be found in there, and fixed in there. I have been working with MediaWiki the last couple of weeks. If you provide some more info, i might be able to help you some more.
Related
I'm a little lost here and didn't know where else to go so I thought best place to ask would be here... So, I recently upgraded my site's server from shared to VPS after which I attempted to download an Excel report from my DB like I usually would do regularly. However, since the upgrade after I download it, I get an error when opening the documents; it gives me the option to still open it but it is clearly corrupt or something. I have attempted to debug this issue but I am most definitely struggling with this one. I've also made sure I'm using the most recent version of PHPExcel but sadly this didn't resolve it. The error I'm experiencing is as follows:
The file format and extension of "myReportName.xls" does not match.
If anyone can shed a little light on what might be going on here I'd really appreciate it, and thanks in advance!
UPDATE: I don't think this would affect it, but I thought I'd add I also had a bug with my DB after the upgrade where nothing would insert due to fields not having a default value. They worked fine on the shared server but on the VPS I had to edit all my columns to have a default value of null. Also in case someone asks I didn't think it was necessary to post my code as it was working fine before the server upgrade so I thought the bug wasn't there, but if I'm wrong feel free to let me know.
Let me preface this with; I do not work with PHP. The code below is something that we inherited and look after. It talks to Google Sheets to display information onto some TV's around an office, and thats it. The company who set this up originally have ceased trading, so we can't go to them for information or ask them how to fix it, so I thought I'd come here.
Whenever I go to http://ServerIP/FileName.php?u=Sales/ it returns the error "Google failure and nothing to display from cache" which is defined near the bottom of the code, however, I've no idea how to get it work. I can also see on line 62, there is this - "${${"GLOBALS"}["kjvieqjie"]}="cache/".${${"GLOBALS"}["bjlwuz"]};" which I've tried to change to c:/Xampp/htdocs/cache and to no avail.
This runs from a Windows Server running Xampp - ive ensured that in the folder the php file lives in, there is a folder called "Cache" and that read/write permissions are set to full control for the Everyone group, so i can't see this being a permission issue, but i could easily be wrong.
Code can be found here
Any help would be greatly appreciated, and if you need anything to assist with the resolution of this, let me know :)
I am using Wordpress Images Gallery and each time I try to add new images I get this error in the console:
GET ...
wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sorta&load%5B%5D=ble,thickbox,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8
net::ERR_CONNECTION_RESET
Everything worked perfectly until recently and I really don't know what could be the cause. I do not have a lot of experience using Wordpress, so I am not sure what other information could be relevant. Also, the error seems kind of vague to me. I will provide further details if required.
I suspect there are too many scripts to load and that gives the error.
Thank you.
I disabled script concatenation in config and everything works. Thanks.
I know a lot of you guys are going to get angry, because it seems like so many questions have been based on this alone!
But, I have checked my PHP tags, all of which are using <?php..., PHPMyAdmin is installed on my server.
I just don't understand what's causing this? T_T
ftp://ftp.wagermatches.net/public_html/arithia/referral/test/home.php
I've tried changing the URL from ftp:// to...
http://ftp.wagermatches.net...
http://www.wagermatches.net...
http://www.wagermatches.net/arithia/referal...
I tried adding a .htaccess file to my server...
I'll be getting into my server classes two months from not, but I have no clue what's wrong. If you've got any idea, could you please point me to tutorials on how to do something and not just what I need to do? I am still learning. :( Thank you guys for your help!
Accessing the file through FTP will not cause it to be interpreted. Instead, you will get the file literally as you are now.
If you wish the file to be interpreted, you must first access it through HTTP and then configure your server to interpret it. How to do that depends on the web server you are using. As is, you’re getting an internal server error, which means that something is wrong with your server’s configuration. A good first step to diagnosing the problem would be to check the error log, as the internal server error page says.
Your server is not recognizing the php tags, so I think you do not have PHP installed. Note: I am not talking about PHPMyAdmin !!!
I am not an expert in PHP, still learning it. I'd like some hints on how to troubleshoot problems.
Recently I installed PHP 5.2.9 on Vista+IIS7 (phpIsapi). I ran a script that did an opendir()/readdir(). This script ran just fine on 5.2.0. On v5.2.9, it failed but I got no indication of the source of the problem.
I banged around in the dark to troubleshoot it, finally trying different directories and narrowing it down to a directory perms issue. More banging around to figure out which user needed perms. Though the page runs as Network Service, the user that needed perms on the dir was IUSR. And it needed RX perms on the entire traversal tree. Who knew?
I also worked with a bunch of COM components. Some of them worked, some did not. They often failed with "No error". Again it was bumping around in the dark until I solved the problem.
I tried error_reporting(E_ALL | E_STRICT) but that gave me nothing more useful.
I know this can't be the way that people do troubleshooting as they develop on PHP.
Any hints you can provide on efficiently working through minor issues as they come up?
http://www.xdebug.org/
Well, my answer is: no, there's no good way.