Hoping someone can point me in the right direction here. I have a website xxxxx.com on one server and a subdomain of app.xxxxx.com on another server, both with SSL and working fine.
I have just installed phpmyadmin on app.xxxxx.com server and all seems to have went well with the install. However when I visit app.xxxxx.com/phpmyadmin which is where I would expect it to be i get a HTTP500 error "this page isn't working".
I think might be a virtual host/apache routing issue but not too sure?
Related
I know about this exception but I can't fix this issue.
Things that you need to know:
I'm using PHP 5.6 FPM, Nginx, MariaDB;
I'm using Laravel 5.1.44;
My app is working on server and have no issues;
I'm in a new pc with docker. I lost my previous env and it was not installed using docker;
I'm trying to use docker. I tested a lot of containers for a Lemp stack and none of them is working(for this project);
Tested in home and at work(both using docker). Not working;
Now I'm using https://github.com/LaraDock/laradock;
I downloaded a login test project from github and it works.
I don't know, but it looks like a session issue cause when I disable csrf middleware, I try to login and the browser sends me back but it doesn't render an alert that uses session;
But if I use "Session::put('test', 'bla')" and "Session::all()", 'test' is there.
I got this error in all forms;
I have csrf field in all forms;
I tried to change "session.save_path" in "php.ini" and it also does not work.
And I don't know what to do. It's an issue that I can't fix :/
Any help? Something that I could try? Thank you!
EDIT #1
Right now I installed Nginx and PHP FPM using the same version that is in my docker containers and it's working. I installed them in my host machine without docker.
It's not something that I like to do but it works and I can continue to dev my project.
This issue is not fixed yet cause I still can not run my project in a docker container :/
EDIT #2
Before post this question here I tested redis and it also was not working.
Today, I read your replies and I tried with database and it works.
Then I changed to file and it also works now(I did a chmod 777 in storage folder). But yesterday I did this(chmod storage) too, it's weird. And something strange that I notice is that when I reboot my pc, I always have to do a chmod in storage folder to my app works.
But now, I have this "Redirecting to zzzzz.com/aaa" when I have a redirect. Could be a space before a PHP open tag but is something that is not happening in my host machine(as I said in EDIT #1).
I'll try to fix this. Thank you guys!
I know this question seems duplicate but it is not. Actually I have strange problem that I want to fix since last two days. I have install the apache2 on ubuntu 12.04, configure it and it works fine. Problem is that when I try to access the same website from other computer it opens the directory instead of website and If I click on some link it says the sentence that I wrote in the heading. Now want to know that what I am missing as all things goes fine on local PC by localhost/
I built the application in ZEND.
I need help to resolve my problem.
Suddenly my magento sites are broken, all pages, not only front pages but also backend pages, redirect install page, http://hogehoge.com/index.php/install/.
I don't know why this kind of problem happen.
Of course I checked server logs, my server is attacked or not but I cannot find attacked logs.
But I find one supposed reason, I think after updating phpMyAdmin my magento sites are broken.
On my server, not only magento but also another application, wordpress, piwik and so on, work but only magento had problem.
If all applications were broken, I could understand, but only magento broken I want to know what wrong is.
Maybe if I can repair by magento-db-repair tool, it's ok but I think I can't make solution basically.
So please advise me what I should check my server configuration.
My server spec is
Centos6.4 64bit
apache2.2.15
php5.4.23
mysql5.5.35
phpMyAdmin4.1.1(<=update from 4.1.0)
magento1.7.0.2 and 1.8.1.0
Thank you.
I've been coding a project for some time. I'm quite new in Symfony2 and php frameworks, but find myself starting to understand it - which is great.
Now however something weird has happened, and I don't know where to start to look.
I was coding a scraper combining Symfony2 and casperjs - it has been working for some time and I was just dusting it off.
Suddenly I get a "connection reset" in Firefox. I try some other routes and they work fine. I try changing the route with a problem, but the same error pops up. I have tried the following:
delete the caches
isolating the casperjs part (works fine)
restart the server
restart apache
checking apache logfiles
checking symfony logfiles
But nothing of the above gives me any clues. Can the problem be with the virtual-host file when it is only a problem for a subpart of the site and not the site in general?
Any ideas is highly appreciated.
Thanks,
Rune
Found the problem in my code.
I did not read the error-log of the project vhost properly.
For others with similar problems the error-log is a great place to start :)
I have just moved a silverstripe install to a new joyent smartos server. Not being familiar with Linux, this was still relatively easy.
I am new to silverstripe as well, but the team here has developed on it for years.
I have the site up and running on the new server, but have not pointed the domain to it until we can thoroughly test it. So I am accessing it from it's ip address. The site displays fine and the sub pages work as well. When I navigate to the '/admin' page, I see a silverstripe page that states the page cannot be found (not an Apache 404). I copied over the .htaccess and the _config.php from the old server, so there should be no issues.
I have done a /dev/build with no errors and I can log in through the security page, but I just cannot get the /admin to come up. I am lost after spending the whole morning surfing google to find the answer. Any help would be greatly appreciated.
UPDATE:: I installed a fresh version of silverstripe into a subdirectory on the same server. Works perfectly, so that rules out any PHP issues.
I have also tried /index.php/admin with no luck.
Thanks,
Ben
I was having this problem as well. None of the solutions I found online worked for me, but I managed to figure it out.
I had apache running as a non-standard user, and the problem turned out to be that the webserver was unable to save session data for the logins.
The solution in my case was to chown root.myuser /var/lib/php/session. Once done, the admin page loaded fine.
If /admin is not loading at all and there is no 404 error, there is a high chance of a PHP error. And that should be logged in the webserver's log file. This will depend on your operating system and probably on the Joyent environment (not familiar with that breed of cloud computing). On Debian, Ubuntu, and some more it's /var/log/apache2/error.log (assuming you're using Apache).
If I had to guess, I'd say the permissions of assets/_combinedfiles/ are bad. The webserver tries to create some combined JS and CSS files there (specifically leftandmain.js and cmsmain.js) and if it fails, you might get the dreaded white page of death in /admin.