ElkArte Community

General => Chit Chat => Topic started by: lurkalot on May 17, 2018, 01:52:10 pm

Title: Anyone running ElkArte in XAMPP?
Post by: lurkalot on May 17, 2018, 01:52:10 pm
Just wondering if anyone's running ElkArte in XAMPP, and if so what version of XAMPP.  Reason I ask is, I've tried several times to set up a test install to play around with, but every time I try it gets as far as step 4 in the install process, page refreshes and leave me with a white page, and can go no further.    Database seems to populate ok.  I get to the install page where you give the site a name, and then it should I assume go to the page where you set your admin settings, but I get a white page instead.

I've tried v1.1.1 v1.1.2 and v1.1.3 and all give me the same result.  Xampp is running php 7.1 and SMF 2.0.15 and SMF 2.1 beta 3 both install and run fine.   Anyone got any ideas what I'm doing wrong?
Title: Re: Anyone running ElkArte in XAMPP?
Post by: Spuds on May 17, 2018, 02:12:28 pm
Have not used Xampp in a long time so can't be much help.   Which version of ElkArte, 1.1.x or the development branch?
Title: Re: Anyone running ElkArte in XAMPP?
Post by: lurkalot on May 17, 2018, 03:58:42 pm
Quote from: Spuds –   Which version of ElkArte, 1.1.x or the development branch?

Thanks.  I originally tried 1.1.3 downloaded from the Download link on the front page.  And then 1.1.1 and 1.1.2 from the releases on GitHub, here, https://github.com/elkarte/Elkarte/releases   A fresh database for each attempt.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: emanuele on May 17, 2018, 05:54:52 pm
hmm...odd.
Would you mind testing a random idea? Change:
Code: [Select]
		$can_alter_table = $db->query('', "
ALTER TABLE {$db_prefix}log_digest
ORDER BY id_topic",
array(
'security_override' => true
)
) === false;
to:
Code: [Select]
		$can_alter_table = true;
in /install/Install_Controller.php?
Title: Re: Anyone running ElkArte in XAMPP?
Post by: lurkalot on May 18, 2018, 02:01:16 am
 emanuele thanks, gave that a go but still the same unfortunately.   :(

Should have mentioned, I also have XAMPP running on a second windows 10 laptop which I use for testing SMF and Tinyportal, and that works fine as well, until I try to install ElkArte then the same thing happens.  

Title: Re: Anyone running ElkArte in XAMPP?
Post by: emanuele on May 18, 2018, 05:52:43 am
Can you check in the xampp logs if there is any hint?
https://stackoverflow.com/questions/3719549/where-does-phps-error-log-reside-in-xampp
Title: Re: Anyone running ElkArte in XAMPP?
Post by: lurkalot on May 19, 2018, 03:12:55 am
Quote from: emanuele – Can you check in the xampp logs if there is any hint?
https://stackoverflow.com/questions/3719549/where-does-phps-error-log-reside-in-xampp

Checked the logs, just some stuff about ssl not being configured, but other than that nothing relevant.  I'll keep searching and see what I can find.  Or perhaps try a different test platform.  Thanks.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: emanuele on May 19, 2018, 04:49:54 am
Total black.
I should test it, but don't have any win platform handy...
A reasonable issue could be related to paths, or the inclusion of Settings.php...
Title: Re: Anyone running ElkArte in XAMPP?
Post by: emanuele on May 19, 2018, 04:50:22 am
If you are in the mood, can you try 1.0?
Title: Re: Anyone running ElkArte in XAMPP?
Post by: Antechinus on May 19, 2018, 05:35:40 am
Quote from: lurkalot – Just wondering if anyone's running ElkArte in XAMPP...
Yeas ago, being a bit of a n00b and lazy as well, I got fed up with trying to get things set up on XAMPP and went looking for an easier alternative. Try this: https://www.vswamp.com/

I've found it to be idiot-proof. :)
Title: Re: Anyone running ElkArte in XAMPP?
Post by: ahrasis on May 19, 2018, 08:41:11 am
Before I run my own server (since about 5 years ago) I did use xampp and wamp (http://www.wampserver.com/en/) for my tests as they are faster and easier to edit locally.

May be I'll tested at later time today and let you all know the result.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: ahrasis on May 19, 2018, 09:07:23 am
Report: I downloaded and installed XAMPP 7.1.17 on my Windows 10. Then I created folder ea11, copied ElkArte 1.1.3 into it, created database, open http://localhost/ea11 and ran its installation.

Everything went smoothly and ElkArte 1.1.3 was installed and is running fine.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: lurkalot on May 19, 2018, 10:31:16 am
Quote from: ahrasis – Before I run my own server (since about 5 years ago) I did use xampp and wamp (http://www.wampserver.com/en/) for my tests as they are faster and easier to edit locally.

May be I'll tested at later time today and let you all know the result.

Quote from: ahrasis – Report: I downloaded and installed XAMPP 7.1.17 on my Windows 10. Then I created folder ea11, copied ElkArte 1.1.3 into it, created database, open http://localhost/ea11 and ran its installation.

Everything went smoothly and ElkArte 1.1.3 was installed and is running fine.

Thanks for checking this for me.  I haven't had a problem with XAMPP until now, always found it quick and easy to use.  Obviously looks like something is wrong with my setup now though.   Pretty sure I'm running the same version as you.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: Spuds on May 19, 2018, 11:14:52 am
What browser are you using (in case it is a JS error of some sort)
Title: Re: Anyone running ElkArte in XAMPP?
Post by: Jason on May 22, 2018, 12:54:50 pm
I use Wamp server and ElkArte works fine in it. Sorry no clue about xampp
Title: Re: Anyone running ElkArte in XAMPP?
Post by: TaliaJoy on July 23, 2019, 01:01:52 am
I'm experiencing the same problem (using 1.1.6). Interestingly, if after step 4 you go to http://localhost/elkarte/, it will take you to the upgrade screen and you can sort of complete the setup process, but there will be no admin user on the forum.

FYI: The procedure I followed is, I made a folder in xampp/htdocs called "elkarte" and copied the ElkArte install files into it, then went to http://localhost/elkarte/. Is this the proper way to do it? I'm a bit of a n00b when it comes to these things.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: emanuele on July 23, 2019, 07:46:44 am
In the last screen, there is a quite visible (but apparently not enough visible) warning you to delete the "install" directory with a checkbox to tick that usually does it for you. But if it fails, you are sent back to "upgrade" (that is technically not wrong, but neither correct).
So what you have to do is to delete the directory named "install" present inside the elkarte one.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: TaliaJoy on July 23, 2019, 05:11:02 pm
I don't get to the screen where it gives that warning. Attached is the last screen I see, then it gives a blank white screen.

I tried deleting the "install" directory anyway and going to http://localhost/elkarte/, but then it gives me the following error on an unstyled and otherwise empty screen: "Table 'elkarte.elkarte_settings' doesn't exist". (And looking in phpMyAdmin, it is indeed accurate. It seems like the other database tables exist, though.)

Thanks for trying to help, though.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: TaliaJoy on July 24, 2019, 11:59:17 pm
Good news: I decided to give WampServer a try instead and it went off without a hitch. 8) Wonder what the deal with XAMPP was though.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: Spuds on July 25, 2019, 10:04:33 pm
Way back when I used XAMPP I often ran into issues with software.  I'm not sure what the deal was but it always gave me some level of grief.   After XAMPP I moved to Wamp and it was much better for me. 

These days I use a vagrant + virtualbox combo.  That is probably a bit much for most folks, but it helps me with all of the various setups that I have to check and work on.
Title: Re: Anyone running ElkArte in XAMPP?
Post by: ahrasis on July 26, 2019, 11:05:18 pm
A new approach is may be to use windows subsystem linux (wsl) which should work great now compared to its previous version.