Author Topic: New Etano Installation Not Working - June, 2018  (Read 106 times)

TraderJoe

  • Prime Member
  • ****
  • Posts: 174
  • Karma: +5/-5
New Etano Installation Not Working - June, 2018
« on: June 08, 2018, 04:20:06 AM »
I'm using InMotion shared hosting with cPanel.  They have "Softaculous Apps Installer," which installs Etano 2.60 automatically.  However, both https://Example.com and https://Example.com/admin/index.php are not working with HTTP ERROR 500.  So, I have first been searching the forum to try to find a solution, but to no avail:

1. One old thread I found mentioned how you have to change the permissions for cache2, tmp, and tmp/admin to 777.  However, there is no "tmp/admin" folder; there is only the first two and then an "admin" folder in this version.  I was leery of changing a folder called only "admin" to 777, but I did make them all 777 nonetheless; no change.

2. For .htaccess, I also noticed talk of removing the line that says "Options -Indexes," so I commented it out.  I wasn't sure if I had to do anything with the very top line that says "DirectoryIndex index.html index.php," but I commented that out too.  No change.

I'm not sure about .htaccess permissions.  By default it is 644.  Am I supposed to change it to something else?  The Etano requirements mentioned on DateMill.com say "Support for mod rewrites and editing of .htaccess files," so then I should perhaps change it to 777 or something?  I think I may have already briefly tried 777 but I had a hard time believing one should leave that at 777 and was pretty leery of doing so.  Could not find any specific setting mentioned on the forum or the documentation wiki page.

3. I also used phpMyAdmin to open the database and found a table called "dsb_error_log," which I opened after seeing another person in the forum vaguely mention finding an error log somewhere unspecified.  It is empty.  Other than that, I have not found any other error log to look at.

4. I also edited the "Minute" figure for the cron job entry from 21 to 5.

5. Regarding this requirement:  "GD Library for the dynamic creation of image uploads."  I did not find any mention of it in my hosting account.  How can I even tell if I have it?  Or do I need to get it somewhere?  If "Softaculous" already supposedly installed Etano automatically with just a few bits of data the user had to supply, wouldn't this GD Library have already been installed?

Thanks in advance.  Would love to get the script working.  As I mentioned in another thread, I actually go back so far that I paid for Etano before it was free, but I never used it all these years.  Would love to try it now, however.

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3108
  • Karma: +210/-7
    • Maverick Webworks
Re: New Etano Installation Not Working - June, 2018
« Reply #1 on: June 08, 2018, 07:17:36 AM »
First, it's important to note that Etano/Datemill has no affiliation or partnership with Scriptalicious, Softaculous or Fantastico, they simply go around and scoop up free open source scripts and include them in their script packages which they provide to hosting companies for a fee. I have little knowledge how these installers are configured to auto install Etano on various hosts, therefore getting support here for installation issues will be limited. It can be kind of a hit or miss whether some scripts will get installed properly, or if the script is actually fully supported by the host or the hosting plan that you have. These installers often don't setup cron jobs correctly.

It's always better to download scripts and manually install them yourself. No matter what script it is I never rely on these auto script installers. But before doing a manual install there's a few things you can try as it may have installed ok and you just need to configure a few things.

You mention your using HTTPS in your URL, so this assumes your host provides a free SSL which is fairly typical these days, however it doesn't work right out of the gate and in order to utilize the SSL and have the HTTPS protocol recognized you will need to make a few configuration changes to the script which are explained here:
http://www.datemill.com/etano/wiki/doku.php?id=https_ssl_tls

Since you're getting a HTTP ERROR 500, this is most likely the cause.

Also make sure your using the proper PHP version to run Etano, which at this time is 5.3 or 5.4. Many hosts allow you to change or switch the PHP version in your cPanel. So check what PHP version you're running and change it if need be.
https://www.inmotionhosting.com/support/website/php/how-to-change-the-php-version-your-account-uses

The GD Library is actually part of the PHP build provided by your host and is rare that it's not already included. The only way you can tell if you have it is by viewing your server's PHP info, which some hosts don't allow on shared hosting for security reasons, but you'll know the first time you try uploading a photo to a user account.
 

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

TraderJoe

  • Prime Member
  • ****
  • Posts: 174
  • Karma: +5/-5
Re: New Etano Installation Not Working - June, 2018
« Reply #2 on: June 08, 2018, 08:02:36 AM »
Thanks Maverick. :)

The installer had taken care of editing the PHP file for https, and I added the needed lines to .htaccess.  Then when I switched from PHP 7.0 to 5.4 both the admin page and the main page appeared.

Just to make sure I don't mess anything up with these last loose ends:

1. Should I change the permission on the "admin" folder to 777, or can I leave it at 755 where it is now?  There is no "tmp/admin" directory to change to 777, however.

2. My .htaccess file permission is 644.  Should I change that?  Also, I have these two lines at the top commented out:

Quote
# DirectoryIndex index.html index.php
# Options -Indexes

Is it safe to uncomment one or both of them to keep them active?

Thanks again for helping me get going with this.  It brings back memories and I love the clean UI, but I also plan to look into your responsive templates and probably try a few of them.  Mobile responsive is a must these days.  Much appreciated if you can clarify these last loose ends to starting up if you have the time.

P.S. Is there a way to make the site https://Example.com inaccessble to the public until I've actually made the site ready for use, but still be able to work on it at my end?  If anyone knows much appreciated, and I'll also search for that later myself if it's published already.  Thanks.

maverick

  • Administrator
  • Veteran Member
  • *****
  • Posts: 3108
  • Karma: +210/-7
    • Maverick Webworks
Re: New Etano Installation Not Working - June, 2018
« Reply #3 on: June 08, 2018, 08:52:33 AM »
There's usually no need to use 777 on directory folders unless for some reason your host server requires it.

The defaults of 775 for directory folders and 644 for files usually works for most people.

Quote
# DirectoryIndex index.html index.php
# Options -Indexes
All this directive does it look for index.html first and index.php second, if index.html doesn't exist it then looks for index.php
It's up to you if you want to leave this active or or not, either way is fine because it's usually the default configuration of your sever anyway.

Quote
P.S. Is there a way to make the site https://Example.com inaccessble to the public until I've actually made the site ready for use, but still be able to work on it at my end?  If anyone knows much appreciated, and I'll also search for that later myself if it's published already.  Thanks.
It is possible to password protect your site, it's easy to password protect a directory or subfolder in cPanel, however it's a bit more complicated to password protect the main root directory (or plubic_html folder) which will need to be done manually.
https://dynomapper.com/blog/21-sitemaps-and-seo/451-how-to-password-protect-a-site-using-htaccess

Fusion Responsive Template & Free Mods
http://www.maverickwebworks.com
DO NOT PM me asking for personal help. Post your problem or request in the forums so the entire community can contribute and benefit.

TraderJoe

  • Prime Member
  • ****
  • Posts: 174
  • Karma: +5/-5
Re: New Etano Installation Not Working - June, 2018
« Reply #4 on: June 08, 2018, 10:39:14 PM »
Thanks again, Maverick.