Error "loading" the phpMyAdmin environment in my browser - php

I'm having trouble logging into my phpMyAdmin server database.
Here's an album with a few pictures of the error I'm getting. http://imgur.com/a/XhTj3
Whenever I open phpMyAdmin in my browser I get the first picture, the normal login screen but with a login section for the sidebar, and the main content. I have to log into each separately (as shown on the second/third picture), and when I do the environment looks completely different, like it isn't styled at all and just html/php. Normally when I log in it looks like the normal phpMyAdmin environment like in the pictures on this tutorial https://www.siteground.com/tutorials/phpmyadmin/phpmyadmin_administration.htm
I've been using this database for a few months now and never had this problem. It was working last friday, but just started doing this this week.
I've looked around on the internet but I can't find anything helpful, I'm a bit of a noobie too when it comes to php and databases. Thanks for any help in advance!
Edit: I've tried uninstalling / reinstalling phpmyadmin on my server and now I'm getting the following error "Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.". If I refresh the page I go back to the duel-login page as before

Related

net:err_connection_reset after loading php file completely

I have a quite simple php page (PHP 5.5.35 on CentOS 5.11) that queries a MySQL database. The resulting page shows completely, including the footer I include as a final instruction, so the PHP script runs entirely without error.
Almost every images and js libraries are loaded. However, there are two elements that are never loaded, an image and a jquery library. Each time and with any browser, those elements generate a (in Chrome, for instance) :
Failed to load ressource : net::ERR_CONNECTION_RESET
For testing purpose, I tried to delete those element from the page, ultimately, it is the favicon that can't be loaded. So it seems not to be those elements in particular. The connection seems to be reseted at some point between the PHP script completion and the page loading… and I don't have the beginning of any clue where I should start the troubleshoot.
Some other informations :
Apache logs don't log anything !
The other pages of the site works well
The site works without any problem on my local machine (Mac OS X, PHP 5.5.35 too)
Once the page is loaded, if I click any link on it, it shows a "Connection reseted" error page.
Does anybody have a clue, anything about where to start my search ? Thanks in advance, I am starting to desperate.
It happened that after searching everywhere, the cause was simply that I was handling a lot of parameters through GET – too many of them. I changed the code for using POST and everything worked miraculously… Hope it may help someone, sometime !

unable to debug past login in eclipse php with xedug

I am using easyphp with xedug installed with Eclipse Luna as my IDE.
I have setup the Debug configuration (Default PHP server setup to point to my localhost), and I am able to launch the debug and hit the localhost server I want to hit.
I can debug through the first part up to the login screen (CodeIgniter loading my config), but once I login none of my later breakpoints are being hit.
I went through each of the 'Similar Questions' listed, but I can't find the answer.
I finally figured this out. I am not sure that this is the most appropriate way to do it, but it works.
Once I reached the login screen the 'DEBUG_SEESION_START' and 'KEY' as part of my url were lost.
I simply let the page load up, copied the 2 url parameters onto the end of the url and hit enter.
2 days of head-banging. I hope this saves someone else. I wouldn't wish what I went through on anybody.

Laravel stopped writing logs on Azure

Up until recently any error messages laravel would produce were written to /app/storage/logs on Azure, as they are supposed to. They still do locally, and my live server uses the exact same laravel-configuration. However, on my live server laravel stopped writing to the log files about 2 months ago.
Log::Info still works, but unless I tell it to write something to the logs it doesn't.
As it works locally and the exact same configuration is live, I don't know where I should start looking, and googling has revealed to be fruitless. I'm sorry I have not included any images or code, but I am completely clueless what could cause the error. Maybe it has something to do with writing privileges? Any ideas?
Progress 1: When something is supposed to be written to the logs-folder, the "Most recently modified at"-date changes to current date and time. However, nothing inside the folder changes.
Progress 2: An error was just printed to the log, but not all errors are printed. There is an imagick error that should be printed to the log that currently isn't, but the fact that another error message was printed changes the entire question. Just found out, going to test some stuff now.
Progress 3: I have confirmed that the only thing not printed to the log is when imagick fails to load a pdf. There are other cases of this particular problem of imagick happening on a windows server, where reading pdf:s causes imagick to crash without any error message. This means that this question is no longer relevant, thank you for all your time people.
You may check whether the disk space is full of your App Service, if so, it may raise your issue.
And every App Service pricing tier has a limit disk space and will shared in all the web apps in this App Service plan.
You can check the metric on dashboard page of your web app portal, e.g.
You can refer to https://azure.microsoft.com/en-us/pricing/details/app-service/ for details.
As a workaround, you can build a web job to run a script continuously to move your old log files to Azure Blob Storage or a database, to save storage space in App Service.

Browser compatibility issues with PHP website

I have a website called www.kratosguide.com.
The site works as expected for approximately 90% of users, however, I have been getting a LOT of complaints recently that the page doesn't load completely in certain browsers such as chrome/firefox/opera.
Here is a screenshot that someone sent me of how the page loads: http://i.imgur.com/sqNX4.jpg
It appears that only the header and footer is loading and the content from index.php is not.
http://www.reddit.com/r/productivity/comments/w1y30/16_habits_you_should_do_everyday/
Here is a link that demonstrates a user stating the issue above -- (4th comment down).
My host is unable to replicate the issue on their end and they say it works fine. My friend kept refreshing his page cache and he could replicate the error but only intermittently.
Thanks in advance.
***EDIT: I forgot to mention the site runs on WordPress, also the site works fine for me in every browser, which makes it hard for me to see where the problem is coming from.
Check the console. You have some errors
Uncaught ReferenceError: jQuery is not defined - 068690ea.84e407.js:24
Probably caused by this script being called before the jquery library.
It's difficult to tell what is causing the error without being able to replicate it. I'd try to load it in various browsers and see if I can get it to do that. Then take a look at the console for any errors and inspect the DOM to see if the content even loads.
Yes, I still see the errors in the log.
Let me be clearer.
For me the web page loads and is visible 100%, but when I look at the console I see what is shown below. This is an indication you have a problem. My personal settings allow me to see the page but with different settings or plugins I would not be able to see the page. You need to fix your XSS error.
You can reproduce the problem yourself!
Download chrome (or firefox) and then load the page, look at the console, see the error.
Then fix it.
Original answer below
First step, fix these errors shown by chrome. Looks like you have a XSS error.
I saw over 1200 unused CSS element on your page. Try to optimize the amount of data a user has to download to see your website. I had similar issues with my site and I realized how much stuff users had to load to see my website.
I tested it under Firefox, Chrome, IE7+. I didn't get any issues.
You seems to be using WordPress so you might want to check the WordPress community for similar problem.

Joomla Session Automatically Logs Out, No Content

I am running a Joomla 1.6 site, which I recently moved to a new server. I moved the site file system using rsync, and I replicated the MySQL database using MySQL utilities. The previous server has running Ubuntu server 10.10 and the new one is Ubuntu Server 11.10. Everything seems to be working correctly, except one thing...
In the site configuration, a user's session is set to expire after 24 hours. On the previous site it had been working correctly. On this new site, I have found that after a user logs in successfully and uses the site for some time, the user is logged out intermittently (randomly?), well before 24 hours, and then upon logging back in to the site (even in the back-end) the site is completely blank. The main menu is not there and there is no content. The logout button still appears, however, and the main banner. If the user logs out and then logs back in, usually all the content appears again like it should, and the site continues to function properly until the next time the session is booted.
Does anybody have any experience with this? Is there a place a can start debugging to find out why the session is ended abruptly? Why can I log in to the site and still not see any content?
I share the same issue. Being logged out, then logging back in and seeing nothing.
It is very random, and will happen 10 times in a row, or never for two weeks.
This happens on a site that's quite complex (plenty of extensions), and has some traffic (5000 hits/day + 100 admin access / day) on J. 1.7
There is obviously something wrong with the session management.
In an attempt to make the site faster we have tweaked the database and moved the session table to memory, and I believe this may be the key aspect here.
Once we had repeated errors happening and clearing the sessions table solved it (until the next day), so I would guess it's connected to the in-memory sessions table.
If your table is in memory, try moving it to disk; if it's not, try emptying it and see if it happens again, and post back! Good luck
More news.
After long debugging the issue was related by an exception in the core which was not properly handled (related to saving an item with a duplicate alias, i.e. saving a second article in the same category with the same title/alias).
For us it was enough to migrate to J 2.5.3 to solve the issue.
Anyway, as a general comment, such behaviour could be related to an error in some Joomla files, which should leave traces in your error_log (else enable error logging).
It took my customer 3 months to understand what they were doing and describe it so finding an error might speed up the diagnostics.

Categories