Having trouble while installing magento using XAMPP server - php

I am using XAMPP server and want to install magento framework. However while installing after filling up the configuration page and clicking continue the page is reloading and a blank page is coming. Tell me how to fix this?

Probably you have not set the pre-configuration settings correctly. Try with a clean install following any of these tutorials: this, or this (second one is easier and more descriptive) and make sure you have done all pre-configurations correctly. Furthermore never forget to check the logs. Most of the times for blank pages there are pretty good answers in log files ;)

Related

Something wrent wrong with the plugin API

I've installed Wordpress 5 and configured a virtual host for my local wordpress sites
I need to install some plugins and when I try to install I get an error message : "Something went wrong with the plugin API."
Does someone know what is provocating this error ?
Here is a screenshot of my file permissions in the wordpress install root folder
I've finally found it,
It was a dummy thing, I tried to install my plugins at the same time by checking all the checkbox and use 'install' action. But when I did it one by one I've seen that one plugin is no longer available
If someone got problems one day with this error
This can be a lot of things. You can try some of these things:
Apply correct File Permissions;
Manually install the plugin;
Open DevTools and check if some issue appears in the log, as well as enable and read php logs;
If the plugin requires some API Key/Funcion from another, check if this is correctly enabled and working;

Magento 2 Apache random 400 errors

Firstly I know how to deploy and work with files, I don't need answers saying 'redeploy static content' or 'clean cache' - experience from the research.
We having an issue on our development server. We have tested it with multiple projects, versions vary from 2.1.5 to the 2.2.3 open source.
After steps below we are receiving random 400 errors on some files (1-10 files). All those files are .js.
FUN PART:
After trying to get that file again (open in new tab) - everything is working fine, file is there, nothing bad.
After trying hard refresh again - again errors, but on other files.
After multiple soft refreshes (F5) - it looks good again.
Deployment mode - Developer
Steps to reproduce
Install Magento without Sample date (tested with 2.2.3) - nothing configured.
Set deployment mode Developer
Deploy static content or just clean /pub/static/
Chrome/Firefox - Inspector->Network tab->Disable cache (CHECKED)
Clear site data on the browser.
Create a product - for testing.
Go to the website and then to the product (no errors even after hard refresh).
Add product to the cart. (no errors even after hard refresh).
Go for example to the category. (errors even after hard refresh).
After clearing site data - everything looks fine again.
We have reproduced this on multiple pc's / webbrowsers.
Server info:
PHP: 7.1.16
APACHE: 2.4.33
DirectAdmin 1.52.0
Debian: 8
Any suggestion what to do or what to check/change will be useful (except a stupid ones, no one likes those)
P.S. I was not sure if I should post it here or magento.stackexchange.com
Or if I can post on both websites at the same time.
Good morning all
After all we have found an issue. It was an apache module : mod_ruid2
After it was disabled - no more random 400 errors has appeared.
I hope this anwer will help someone even if this is an uncommon issue.
To turn the module off, you need to do the following steps in the command line:
cd /usr/local/directadmin/custombuild
./build set mod_ruid2 no
./build apache

After updating XAMPP, existing Wordpress sites redirect to an install page?

I recently updated to the current version of XAMPP. Before the update, I made a backup of all my htdoc files (all Wordpress installs), and then uninstalled XAMPP.
But I failed to export my databases. (My bad.)
Now when I try to access my local sites, I am brought to the 5-minute installation page for Wordpress—with the notification that users already exist. (Screenshot of the Wordpress install page here.) The install process only produces database errors and tells me that tables already or don't exist. At the bottom of the page I am told to log-in...which brings me to a 404 error.
Ugh.
I have tried exporting the .sql files I'm particularly desirous to save and importing them in new databases...but to no avail.
Any insight? Are my sites toast, or what can I do to restore all my work?
Learned through another coder that all my data is indeed toast. Don't know exactly how this happened, but as a warning to y'all: Find and follow instructions to upgrade XAMPP before proceeding and take every precaution you can!

Moved my Codeigniter project to another server to get a blank screen

Now, I'm not exactly and expert in PHP, but my CMS i've created is going very well on my local server. I've attempted to place it on a live server to get blank page outputs everywhere except from when i use Codeigniters 'welcome' controller. Now i've checked every single file and i don't have one page that i close the PHP tags like so ?> when the page is completely PHP.
So is there a way that white space could be doing this another way apart from white space after tags?
Does white space after php tags between HTML tags count?
I've tested my database configuration and it works perfectly, so i don't know what else it could be. Just getting fed up of looking for something i'm completely not sure about and getting no where.
EDIT: You can see my lovely whiteboard here: http://asphaltcms.com/
EDIT: I can 100% confirm that preset/new controllers, models and views are working so it's something wrong with my current controllers ect, can white space appear in more than just after and before <?php ?> tags?
Thanks for reading.
I'll recomended to check following points if you are getting white screen ,
1:Check logs (PHP,Apache both)
2:Compare PHP info with your local code to live.
3:Check if short_open_tag is on or not
4:Enable error in config file.(error_reporting(E_ALL);
I hope this would help you to get rid of white board :)
Well i never figured this out, but my working result was just new codeigniter installation and re writing the code out quickly. Works on 3 web servers without any issues.
I later encountered an issue with .htaccess files being involved but i've resolved that :)
Thanks for the help.
I've just moved a site to a new host/server and experienced the same issue - White screen and no errors.
I noticed that I didn't have the php module GD or MYSQL installed so I installed those and it fixed my issue.
On ubuntu:
sudo apt-get install php5-mysql
sudo apt-get install php5-gd

Joomla Warning - JLIB_FILESYSTEM_ERROR_PATH_IS_NOT_A_FOLDER_FOLDER

I have the following error periodically show up in Joomla 3.0/3.1/3.2 articles (front-end):
warning
JLIB_FILESYSTEM_ERROR_PATH_IS_NOT_A_FOLDER_FOLDER
JLIB_FILESYSTEM_ERROR_PATH_IS_NOT_A_FOLDER_FILES
It first shows up right after install, and then disappears upon refreshing, but reappears at random times later. Does anyone know about this?
BTW, I know very little about MySQL and PHP other than setting up a database and coding a template, so if you could be descriptive, that would be awesome :)
EDIT: Maybe it's because I am installing a pre-configured package with Akeeba? But I'm pretty sure I have got this message even when I installed the actual Joomla package.

Categories