install.php - [Critical error – bailing out]

Post

Posted
Rating:
#1676 (In Topic #337)
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’

localhost installation "install.php" error

I just tried to do a local install and received the following error.



I opened install.php in gedit. Line 120 says:
'cms/pages/comcode/EN/.htaccess'=>1663488,

php5 is installed,
mysql is installed,

Obviously, I know very little about this - could someone please kindly assist me in troubleshooting & correcting this error?

Thank you.

Last edit: by 0ntheL4ppy

Online now: No Back to the top

Post

Posted
Rating:
#1677
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

This one is a bit tricky for us to debug, as something is going wrong in the installers startup – but I'm going to look into it in detail for you. Is this as soon as you open the installer, or on a particular step?


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1694
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
This happened at the start as soon as I opened the installer.

I put the address "http://localhost/install.php" into the address bar, pressed Enter, and the first thing which showed was that error page.

The system is a relatively fresh install of Linux Mint 17.3, single-user install with standard admin-rights.

I changed permissions for the two files [install.php, data.cms] to root but there was no change in behaviour.
Online now: No Back to the top

Post

Posted
Rating:
#1711
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Thanks. It's likely some kind of issue with the hosting, with Composr trying to show an error about it, but it happening too early. I should be able to review it on Wednesday when I finish what I'm currently working on.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1715
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Thank you, Chris.

Let me know if you need any further information.
Online now: No Back to the top

Post

Posted
Rating:
#1725
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I'm still a bit bogged down (implementing a big feature change for v11), but thanks I received the PT - will look at this soon :).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1728
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Thanks Chris.

Cheers.
Online now: No Back to the top

Post

Posted
Rating:
#1730
Avatar
Site staff
Adam Edington is in the usergroup ‘Super-moderators’
I love any topic that has references to v11 when v10 isn't properly out yet. I can't wait to install v11 about a week after v10 gets released :D
Online now: No Back to the top

Post

Posted
Rating:
#1747
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Ok, I've nearly caught up now :sinner:. It should be tomorrow when I can look at.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1749
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’

KingBast said

I love any topic that has references to v11 when v10 isn't properly out yet. I can't wait to install v11 about a week after v10 gets released :D

We'll see :lol:.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1750
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Thanks Chris.
Online now: No Back to the top

Post

Posted
Rating:
#1754
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

I know this is unlikely, but is it possible you've run out of disk space or disk quota?


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1755
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
It seems to be 1 of a couple of possibilities. Essentially a basic file operation failed, even creating a missing directory, or writing to a file, and that happened before a key system had loaded. I'm running tests.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1756
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I'm pretty sure setting 777 permissions on the install directory will fix it. You're installing on a Linux server without suexec and there's a poor assumption about file access that's sneaked in. It's meant to do a silent fail, but currently isn't.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1760
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Yeah, that's confirmed.

Workarounds:
  1. Use manual installer, chmod documented directories in advance of running installer
  2. Enable SuExec on server
  3. chmod main directory to 777 before running the installer

It's a recent bug. We're writing to a non-critical cache file and failing, while we used to just silently ignore that.
It will be fixed in the next RC, very soon.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1764
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Hi Chris, thank you for taking some time for this.

Workarounds:
  1. Use manual installer, chmod documented directories in advance of running installer
  2. Enable SuExec on server
  3. chmod main directory to 777 before running the installer


There's lots of space on this drive,
manual installer downloaded, extracted,
*** I'm not sure what you mean by "documented directories",
apache2-suexec, apache2-suexec-pristine installed,
777 is set for www [/var/www]
 
Online now: No Back to the top

Post

Posted
Rating:
#1765
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’

0ntheL4ppy said

Hi Chris, thank you for taking some time for this.

Workarounds:
  1. Use manual installer, chmod documented directories in advance of running installer
  2. Enable SuExec on server
  3. chmod main directory to 777 before running the installer


There's lots of space on this drive,
manual installer downloaded, extracted,
*** I'm not sure what you mean by "documented directories",
apache2-suexec, apache2-suexec-pristine installed,
777 is set for www [/var/www]
 

See list of permissions on:
Composr Tutorial: Advanced installation - Composr

Or just do "sh fixperms.sh" from bash, the script will handle it.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1766
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Hi, Chris, thanks again.

ran sh command [fixperms.sh],
verified file ownership of files [find . -user root -exec chown user '{}' \;],
verified 777 for www, 777 is set [stat -c "%a %n" /var/www],
localhost/installer.php … error … two instances of "Call to undefined function do_lang_tempcode()"


set 777 for www recursively … success, installer starts (pretty blue page),
I'll start again and 777 each folder, one by one, to locate where the permissions issue is and report back,
 
Online now: No Back to the top

Post

Posted
Rating:
#1767
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Quick reply as I'm on my phone…

Sources/files.php
Sources/files2.php

From our github should resolve if you want to confirm.  Just overwrite and ignore installer warning about them being corrupt


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#1768
Avatar
Standard member
0ntheL4ppy is in the usergroup ‘Fan in training’
Hi Chris, Ok, so now it's not working at all.

When I put in install.php it takes me to a copy of your github/install.php source code page - except it's from within my local address of localhost/install.php (as seen below in the image).



I very much appreciate your assistance, but I can't afford to put any further time into this. I know it's still a work in progress so I'll check back another time and try again.

Again, thank you for your time and assistance.

Best of luck.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,052 topics, 7,195 posts, 10,827 members
  • Our newest member is LowfareMart
Birthdays:
Back to Top