After install OJS 3.X i cant acess the installation via Localhost - xampp

I have a problem, I installed OJS using Xampp, the installation went smoothly, but when accessing localhost/ojs I am receiving the error 500, in the index of my Xampp there is the following sentence:
Something is wrong with the XAMPP installation :-(
I don't know where to start, I've tried renaming index.php to index.txt with no results.
Thank you for your attention.
Tried to rename index.php
Tried reinstall ojs on another xampp database
localhost/phpmyadmin works fine.

Related

phpmyadmin Error : PHP 7.1.3+ is required. Currently installed version is: 7.0.27

Using Moc OS
I was using XAMPP 7.0.27 and
Now updated to XAMPP 7.2.28
After Upgrading not able to open PhpMyAdmin Page using
http://localhost/phpmyadmin/
Getting Following Error on Page
PHP 7.1.3+ is required.
Currently installed version is: 7.0.27
What Should be done to open phpMyAdmin ?
It seems something didn't get upgraded properly or there's a conflict, because XAMPP 7.2.28 should come with PHP version 7.2.28.
Have you some other PHP installation, perhaps you at one time tried to install your own PHP outside of XAMPP? I suggest removing any other installations to as to avoid conflicts. Your MacOS probably comes with PHP, which could be the conflict.
You could start with the XAMPP control panel to verify which is installed, which PHP is being used by XAMPP, and checking that everything is working together. The installer should have put all the pieces in the right places, so if after all that it still isn't working, I suggest reinstalling XAMPP.

404 error: Page not found. (Magento 2 fresh installation ubuntu 18)

I made fresh installation of magento 2.3 on ubuntu 18. I have imported existing database that I have already used in that project in previous installation. Now I am getting error 404 for homepage, admin and all related urls in that project.
I have fixed paths in core_config_data table but it didnt helped.
I have solved my problem.
If someone encounter the same problem, the key is to enable rewrite mode in apache.
Execute next commands:
sudo a2enmod rewrite
sudo systemctl restart apache2

404 - Not Found when I try to browse to my local WebServer using the IP

So I'm developing responsive websites and obviously need to test these via phones and tablets and it used to work fine, up until yesterday, after I tried installing js frameworks like npm.
For some reason, when I browse to my local testing using the ip it get:
404 - Not Found
I've been used to using:
http://192.168.0.2/filename.php
I've tried:
http://192.168.0.2:8080/filename.php
...still get 404 - Not Found
I've restarted Apache and checked the the port is correct, and it is.
Listen 80
This happened before when I installed Laravel and Valet, but not long after that I had to wipe my Mac due to work and it started working again with a fresh install.
Am I missing something in Apache? does npm and Laravel mess with the Apache settings?
Locally, everything works fine. I can browse to localhost/filename.php directly using Mac with PHP and MySQL talking to each other, albeit after using Homebrew to install MySQL, PHP connections now only accepts 127.0.0.1 rather than localhost.
I've set all the permissions to "everyone" there should be no access issues.
I've noticed another oddity with Firefox Dev Ed too. When I've been using Valet or Gulp, it stops connecting and give a Cannt connect to server error, but Safari and Chrome seem to work ok.
If anyone can shed some light on this, I'd be happy to give it a go!
All fixed! It was Larvel's Valet installation that was causing the issue, as suspected.
So, looked at the brew Cellar directory in /usr/local/Cellar, but it wasn't actually in there. Then opened up Terminal and typed:
valet install
Then ran valet by typing:
valet
Then uninstalled valet by typing:
uninstalled valet
Then restarted Apache2 by typing:
sudo apachectl restart
adding password
Booted up the browser and browsed to localhost/info.php which holds the line <?php phpinfo() ?> and HAPPY DAYS :)

Change from wamp to xamp

I wrote a php script and ran it on xampp server first , later I downloaded wamp and executed the same script . I found xampp server to be more friendly to me and uninstalled wamp but when i try to start my xampp server and run my php script again, It uses the wamp server , though i uninstalled it . I was unable to find solutions online and one solution of using appcmd didnot work . Can anyone else suggest me other options ?

Valet - phpMyAdmin throws 404 not found

Before installing Laravel and Valet on my dev environment (Ubuntu), I had installed PHP 7, MySQL and phpMyAdmin and everything was working fine.
In order to install Valet I had to disable apache2 as Valet was complaining during the instalation and add nginx and follow these steps https://github.com/cpriego/valet-linux/wiki/Requirements:%20Ubuntu
However after the instalation when I try to access the phpMyAdmin through the browser I'm getting the default white page 404 - not found. How can I fix this?
You have parked your workspace directory using
valet park
Clone the phpmyadmin repository using
git clone https://github.com/phpmyadmin/phpmyadmin --depth=1
cd phpmyadmin
composer install
In the same directory just download phpmyadmin package & extract it. You will be able to access it from
http://phpmyadmin.test
If you have phpmyadmin already installed from your last setup, you don't have to download it & install it again.
I was facing the same thing migrating to valet from lamp, this is what I did:
1- Navigate to original phpmyadmin folder
cd /usr/share/phpmyadmin
2- Then add a link to valet
valet link
Hooray! you can now access it at: phpmyadmin.test
If you changed a port 8080. You can try this
localhost:8080/phpmyadmin/
I tried this and it failed to work for me, I found a workaround, check the link for my solution: https://stackoverflow.com/a/47211246/8768078

Resources