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?
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?
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.
hmm...odd.
Would you mind testing a random idea? Change:
$can_alter_table = $db->query('', "
ALTER TABLE {$db_prefix}log_digest
ORDER BY id_topic",
array(
'security_override' => true
)
) === false;
to:
$can_alter_table = true;
in /install/Install_Controller.php?
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.
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.
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...
If you are in the mood, can you try 1.0?
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. :)
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.
What browser are you using (in case it is a JS error of some sort)
I use Wamp server and ElkArte works fine in it. Sorry no clue about xampp
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.
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.
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.
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.
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.
A new approach is may be to use windows subsystem linux (wsl) which should work great now compared to its previous version.