Wedge

Public area => The Pub => Topic started by: MultiformeIngegno on November 6th, 2012, 06:50 PM

Title: Troubles during installation
Post by: MultiformeIngegno on November 6th, 2012, 06:50 PM
Alpha 2. I uploaded everything in a /forum/ dir owned by www-data (that runs PHP) and chmodded 777. Moved /forum/root files to /forum
When I go to /forum/install.php I get the error:
This installer was unable to find the installer's language file or files. They should be found under:
/forum/Themes/default/languages

They're there. I can even access via browser the file (for example) /forum/Themes/default/languages/Admin.french.php (of course a white page, but no 404 error).
PHP logs are blank

Setup:
PHP 5.4.8
nginx: 1.3.8
APC: 3.1.13
mysql: 5.5.28
Title: Re: Troubles during installation
Post by: Norodo on November 6th, 2012, 07:06 PM
I am unable to reproduce this one both with french and english setup options. The only thing I can think of is that you may be lacking the english language files?
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 6th, 2012, 11:35 PM
Someone..? I can't proceed with the installation :D
Title: Re: Troubles during installation
Post by: Arantor on November 6th, 2012, 11:41 PM
Odds are it's your permissions. There is no reason everything should be 777.
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 6th, 2012, 11:59 PM
Quote from Arantor on November 6th, 2012, 11:41 PM
Odds are it's your permissions. There is no reason everything should be 777.
I tried with 775 and 755 too..
chmod -R 775 ....
chown -R www-data ......
Title: Re: Troubles during installation
Post by: Arantor on November 7th, 2012, 12:01 AM
Still think it's a permissions problem because if it weren't, it would have affected everyone...
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 7th, 2012, 12:15 AM
Quote from Arantor on November 7th, 2012, 12:01 AM
Still think it's a permissions problem because if it weren't, it would have affected everyone...
I really don't know what else to try. :(
It's in the same VPS of a SMF install (same permissions and same user www-data)..
maybe I should try to reupload files..?
Title: Re: Troubles during installation
Post by: godboko71 on November 7th, 2012, 12:21 AM
Can't reproduce problem, alpha 2 installed and running fine for me
Title: Re: Troubles during installation
Post by: Nao on November 7th, 2012, 12:42 AM
Folder perms should be 0755, not 755.
File perms should be 0644.

Or maybe it's the other way around... But don't forget the 0 which indicates it's an octal number. Otherwise your permissions will fail.
Title: Re: Troubles during installation
Post by: b4pjoe on November 7th, 2012, 01:46 AM
Quote from Nao on November 7th, 2012, 12:42 AM
Folder perms should be 0755, not 755.
File perms should be 0644.

Or maybe it's the other way around... But don't forget the 0 which indicates it's an octal number. Otherwise your permissions will fail.
Those are what mine are and the install of Alpha 2 went fine (Hostgator shared hosting).
Title: Re: Troubles during installation
Post by: Nao on November 7th, 2012, 08:16 AM
Wondering if the missing 0 was the problem indeed... ;)
(I remember I got fooled by it for quite a few minutes, long ago.)
Title: Re: Troubles during installation
Post by: Dim on November 7th, 2012, 03:18 PM
unrelated but related to install problems..

http://wedge.velorooms.com/

i appear to be graphically challenged.. :S GD2 is installed and running (WHM), etc etc.. :S
Title: Re: Troubles during installation
Post by: Alanthar on November 7th, 2012, 04:02 PM
Arantor (I think) mentioned this somewhere:
Disable [Admin -> Server & Maintenance -> General -> Enable compressed JS/CSS].
Title: Re: Troubles during installation
Post by: Arantor on November 7th, 2012, 05:14 PM
Looks to me as though there are issues with the css and js folders and their permissions. Disabling it is merely a band-aid.
Title: Re: Troubles during installation
Post by: agent47 on November 7th, 2012, 06:00 PM
I had no problems whatsoever with the installation of Alpha 2.
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 7th, 2012, 08:04 PM
Quote from agent47 on November 7th, 2012, 06:00 PM
I had no problems whatsoever with the installation of Alpha 2.
We're all happy for you
Posted: November 7th, 2012, 08:02 PM
Quote from Nao on November 7th, 2012, 12:42 AM
Folder perms should be 0755, not 755.
File perms should be 0644.

Or maybe it's the other way around... But don't forget the 0 which indicates it's an octal number. Otherwise your permissions will fail.
It was already octal.. -_-
Title: Re: Troubles during installation
Post by: agent47 on November 7th, 2012, 10:02 PM
Quote from MultiformeIngegno on November 7th, 2012, 08:04 PM
We're all happy for you
I really don't appreciate the sarcasm as I was merely trying to be helpful.
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 7th, 2012, 10:09 PM
The installation should work with chmod 0755/0775/0777. The fact that can't detect lang files isn't normal, so here are useful reports that reproduce this "problem" (if this is a problem or just a misconfiguration of my VPS), not ones that tell everything's ok (that's the normality).

Anyway, relax
Title: Re: Troubles during installation
Post by: Nao on November 8th, 2012, 12:08 AM
You probably have a problem similar to velorooms'...

I think you're gonna have to share your FTP credentials with me so I can debug in real time at install time. Not fond about this kind of thing but I did it a lot back when I was in charge of AeMe... I probably even already did it for you ;)

But time for bed anyway... Hopefully tomorrow I should have more time to devote to Wedge.
Title: Re: Troubles during installation
Post by: godboko71 on November 8th, 2012, 12:15 AM
Quote from Nao on November 8th, 2012, 12:08 AM
But time for bed anyway... Hopefully tomorrow I should have more time to devote to Wedge.
You should rest :) no need to burnout from "bugs" It is an Alpha after all ;)
Title: Re: Troubles during installation
Post by: Arantor on November 8th, 2012, 12:20 AM
I thought I said a week's holiday? :P
Title: Re: Troubles during installation
Post by: godboko71 on November 8th, 2012, 12:28 AM
Quote from Arantor on November 8th, 2012, 12:20 AM
I thought I said a week's holiday? :P
I agreeeee
Title: Re: Troubles during installation
Post by: Powerbob on November 8th, 2012, 05:02 AM
Quote from agent47 on November 7th, 2012, 06:00 PM
I had no problems whatsoever with the installation of Alpha 2.
+1 :cool:
Title: Re: Troubles during installation
Post by: MultiformeIngegno on November 9th, 2012, 12:13 AM
Quote from Nao on November 8th, 2012, 12:08 AM
I think you're gonna have to share your FTP credentials with me so I can debug in real time at install time.
Make good use of them :D
Title: Re: Troubles during installation
Post by: Dim on November 9th, 2012, 03:37 PM
Quote from Nao on November 8th, 2012, 12:08 AM
You probably have a problem similar to velorooms'...

I think you're gonna have to share your FTP credentials with me so I can debug in real time at install time. Not fond about this kind of thing but I did it a lot back when I was in charge of AeMe... I probably even already did it for you ;)

But time for bed anyway... Hopefully tomorrow I should have more time to devote to Wedge.
Been busy the last few days, had some work to do. Going to re-install alpha two over the weekend and follow it through step by step and see if i can get to the root of mine.. if not will send you ftp details for debug
Title: Re: Troubles during installation
Post by: Dim on November 29th, 2012, 12:12 AM
Sorry, had to have some time away from the computer due to some personal stuff.

Back now. Zapped the subdomain, reconfigured, re-installed, and still the same problem. (and bizarrely im greated with "welcome hacker!" on the page.. wedge.velorooms.com

happy to send ftp and database details if you want to try and get to the root of it.

Dim

this should probably be in bug reports.

Just did some tests. Tried changing theme and skins. getting a lot of "no such file errors" regarding putting files to the css folder, and "permission denied" errors re the js directory.

Seems to be mainly

line 662 - ==>662:    file_put_contents($final_file, $final);

and 962 ==>922:    file_put_contents($final_file, $final);

of subs-cache
Title: Re: Troubles during installation
Post by: Arantor on November 29th, 2012, 03:11 AM
That's because the css and js folders need to be writable...
Title: Re: Troubles during installation
Post by: Dim on November 29th, 2012, 08:16 PM
:eheheh:
Quote from Arantor on November 29th, 2012, 03:11 AM
That's because the css and js folders need to be writable...
which they both are.. tried 775, 777 all sorts.. checked through both filezilla and in cpanel :S
Title: Re: Troubles during installation
Post by: Arantor on November 29th, 2012, 10:46 PM
Whatever you need to make the cache folder to make that writable, you need to apply that to the css and js folders.
Title: Re: Troubles during installation
Post by: Shawn on December 1st, 2012, 08:47 AM
Don't know if this helps but it looks like HG will not allow 0777 unless you email them:
http://support.hostgator.com/articles/specialized-help/technical/my-script-needs-to-use-777-permissions
Title: Re: Troubles during installation
Post by: Powerbob on December 1st, 2012, 01:24 PM
755 should be sufficient !
Title: Re: Troubles during installation
Post by: MultiformeIngegno on December 1st, 2012, 02:34 PM
It's not according to
Quote from Nao on November 7th, 2012, 12:42 AM
Folder perms should be 0755, not 755.
File perms should be 0644.

Or maybe it's the other way around... But don't forget the 0 which indicates it's an octal number. Otherwise your permissions will fail.
Title: Re: Troubles during installation
Post by: Arantor on December 1st, 2012, 03:40 PM
755 is more permissions than 644...
Title: Re: Troubles during installation
Post by: Nao on January 5th, 2013, 04:33 PM
Quote from velorooms on November 29th, 2012, 12:12 AM
Sorry, had to have some time away from the computer due to some personal stuff.
No feedback (no install?), no badge.
Title: Re: Troubles during installation
Post by: Dim on January 10th, 2013, 07:21 PM
Took a break over christmas, and started pondering this today..

Suddenly, Bingo, Eureka moment..

main domain has hotlinking prevention via htaccess. wedge.velorooms subdomain hadnt been added to the exceptions list.

idiot..

i have however now finished all my updates and things i had to do on my main 2.0.3 installation, so the coming months is just wedge testing.  (basically after talking with my other admin guy we have ended all our development on 2.0.3 as of december when the new season starts, and then we are focussing on developing for the next stage)