New install, blank page with "Error" Topic is solved

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

New install, blank page with "Error"

Post by RobJVargas » Tue Aug 21, 2018 9:38 pm

So I've installed a fresh copy of Joomla! to my CentOS7 server. No DNS configured yet, so I try by IP:

http://107.152.32.67/

As expected, it redirects to ./installation/index.php, but then I get a blank page with the word "Error" on it.

I think it's from a 404 error. But I used HowToForge to make sure I walked through the steps. I'm using a LAMP stack (so, Apache, and MariaDB, and PHP7.2.9). Prior to copying the latest version of Joomla!, I was able to get the phpinfo screen, and the default Apache screen.

When I try via wget http://localhost, I get:

Code: Select all

[***]# wget http://localhost
--2018-08-21 21:36:39--  http://localhost/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... failed: Connection refused.
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: installation/index.php [following]
--2018-08-21 21:36:39--  http://localhost/installation/index.php
Reusing existing connection to localhost:80.
HTTP request sent, awaiting response... 500 Internal Server Error
2018-08-21 21:36:39 ERROR 500: Internal Server Error.
I'm not worried about the IPv6. I'll deal with that later.

Thoughts?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44066
Joined: Sat Apr 05, 2008 9:58 pm

Re: New install, blank page with "Error"

Post by Webdongle » Tue Aug 21, 2018 9:57 pm

Why the IP address not url?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Wed Aug 22, 2018 3:38 pm

Webdongle wrote:
Tue Aug 21, 2018 9:57 pm
Why the IP address not url?
As I said, I haven't configured DNS yet.

The HowToForge page says it's not needed for that install connection. Digital Ocean's page shows the same.

ThomasGHarris
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Aug 02, 2018 5:02 am

Re: New install, blank page with "Error"

Post by ThomasGHarris » Wed Aug 22, 2018 10:35 pm

Hi Rob,

Is there any other error log? Is this the full Joomla package? Seems more like the installation or the server are not accepting one another.

User avatar
Furiousnow
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Mar 22, 2011 6:40 pm
Contact:

Re: New install, blank page with "Error"

Post by Furiousnow » Thu Aug 23, 2018 6:34 pm

Rob, it sounds like you have some server configuration erros. A 500/5xx error is a server error, have you reviewed your setup against the Joomla Technical requirements?

https://downloads.joomla.org/us/technic ... rements-us
Internet marketing, web design and development, and Joomla enthusiast.
https://www.bleery.com/

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Fri Aug 24, 2018 10:03 pm

@ThomasGHarris: Here's a tail output of error-log:

Code: Select all

[Fri Aug 24 21:44:01.893018 2018] [lbmethod_heartbeat:notice] [pid 6704] AH02282: No slotmem from mod_heartmonitor
[Fri Aug 24 21:44:01.916404 2018] [mpm_prefork:notice] [pid 6704] AH00163: Apache/2.4.6 (CentOS) PHP/7.2.9 configured -- resuming normal operations
[Fri Aug 24 21:44:01.916439 2018] [core:notice] [pid 6704] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Aug 24 21:51:00.546639 2018] [mpm_prefork:notice] [pid 6704] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Aug 24 21:51:01.681294 2018] [suexec:notice] [pid 6717] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Aug 24 21:51:01.720944 2018] [so:warn] [pid 6717] AH01574: module php7_module is already loaded, skipping
[Fri Aug 24 21:51:01.723250 2018] [auth_digest:notice] [pid 6717] AH01757: generating secret for digest authentication ...
[Fri Aug 24 21:51:01.724203 2018] [lbmethod_heartbeat:notice] [pid 6717] AH02282: No slotmem from mod_heartmonitor
[Fri Aug 24 21:51:01.748370 2018] [mpm_prefork:notice] [pid 6717] AH00163: Apache/2.4.6 (CentOS) PHP/7.2.9 configured -- resuming normal operations
[Fri Aug 24 21:51:01.748403 2018] [core:notice] [pid 6717] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
A tail -f doesn't show anything more than this. I can't see anything that clearly points out why the index.php fails to run.

@Furiousnow: From what I can tell, I meet the supported requirements. PHP 7.2.9, Apache 2.4.6, Mysql 5.5.60 (MariaDB, just to be specific). httpd and mysql(mariadb) are running.

ThomasGHarris
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Thu Aug 02, 2018 5:02 am

Re: New install, blank page with "Error"

Post by ThomasGHarris » Wed Aug 29, 2018 5:16 am

Hi Rob,

Is everything properly configured on the CentOS server? If you add any custom index.php is the same error showing? If it is instead of the index.php, it means that the server can't load it. This is caused either by some missing htaccess(might be due to DNS not being available yet) or some permissions not granted.

deleted user

Re: New install, blank page with "Error"

Post by deleted user » Wed Aug 29, 2018 9:41 am

When i was trying to get something i was working on working once i tried to upgrade to php 7.2 as that's the highest version the host offers and i thought may as well have the latest version, but i got the same error. I had to downgrade to php 7.1 and the error went away.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12781
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: New install, blank page with "Error"

Post by brian » Wed Aug 29, 2018 1:27 pm

@webdongle that would be a pretty amazing solution as the OP has not even managed to install joomla

@Rob As it is your own server I would start by making sure that the server is configured correctly. Create a phpinfo.php file in the root and see if that runs without error (https://www.pipeten.com/support/scripti ... info-page/)
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Fri Aug 31, 2018 1:48 pm

@brian:
Sorry for the delay. "Real life" and all that.

I had the default Apache index.html working before I started installing Joomla!, and phpinfo worked prior to that as well. I'm going to re-enable phpinfo and see if that still works.

Sadly, I didn't make a backup of my /var/www/html before I decompressed the Joomla files into it.

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Fri Aug 31, 2018 1:57 pm

OK, phpinfo works. I probably shouldn't, but I have it up for now.

http://107.152.32.67/info.php

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Fri Aug 31, 2018 2:04 pm

By the way, I've been under the impression that there is a missing module. Either a php module or an Apache one. So far, however, I've compared it to my other Joomla install and haven't yet found the difference.

RobJVargas
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Jan 04, 2018 8:40 pm

Re: New install, blank page with "Error"

Post by RobJVargas » Fri Aug 31, 2018 3:16 pm

I was right. I was missing a php module. Not sure which one, but another site called tecadmin recommended the following for installing a LAMP server:

Code: Select all

install php-mysql php-xml \
php-soap php-xmlrpc php-mbstring php-json php-gd php-mcrypt
One of those modules did it. When I ran that, I noticed:

Code: Select all

Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-7.2.9-1.el7.remi.x86_64 instead
...
Package php-mcrypt is obsoleted by php-pecl-mcrypt, trying to install php-pecl-mcrypt-1.0.1-6.el7.remi.7.2.x86_64 instead
My money is on php-mysqlnd, which did install, although php-pecl-mcrypt installed also.

In any event, I have the install page up and running now. Thanks for the assistance, guys. ;D

jimjam
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Apr 26, 2012 9:56 am
Location: Vienna, Austria

Re: New install, blank page with "Error"

Post by jimjam » Tue Jan 29, 2019 7:57 am

I had the same problem installing Joomla 3.9.2. Installing php-xml fixed it for me.

valema
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Dec 09, 2019 9:59 am

Re: New install, blank page with "Error"

Post by valema » Mon Dec 09, 2019 10:05 am

I had the same thing (using localhost), and needed only to run

sudo apt-get install php-xml

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44066
Joined: Sat Apr 05, 2008 9:58 pm

Re: New install, blank page with "Error"

Post by Webdongle » Mon Dec 09, 2019 12:59 pm

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Locked

Return to “Installation Joomla! 3.x”