Wedge repo -- installation feedback

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: Wedge repo -- installation feedback
« Reply #30, on January 21st, 2014, 08:39 PM »Last edited on January 21st, 2014, 08:46 PM
Hm. Yes, my server allows .htaccess files. It's a fairly standard shared hosting AMP install, apart from the MariaDB.

This is the .htaccess file in the css folder:

Code: [Select]
<Files *.php>
Deny from all
</Files>

<Files index.php>
Allow from all
</Files>

<IfModule mod_mime.c>
AddEncoding x-gzip .gz
AddEncoding x-gzip .cgz
AddEncoding x-gzip .jgz
<FilesMatch "\.(js\.gz|jgz)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css\.gz|cgz)$">
ForceType text/css
</FilesMatch>
</IfModule>

<IfModule mod_headers.c>
Header set Cache-Control "max-age=2592000"
Header set Expires "Thu, 21 March 2025 03:42:00 GMT"
Header set Vary "Accept-Encoding"
</IfModule>

FileETag none

This is my root .htaccess (i keep software in subdirectories of this folder):

Code: [Select]
Options -MultiViews +FollowSymlinks -Indexes
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

DirectoryIndex index.php portal.php index.xhtml

ExpiresActive On

ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/x-icon A2592000
ExpiresByType application/pdf A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType text/plain A2592000
ExpiresByType text/css A604800

<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>

AddType application/x-7z-compressed 7z

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>


Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Wedge repo -- installation feedback
« Reply #31, on January 21st, 2014, 08:54 PM »
Try deleting all of wedge's htaccess files first. Can you then access the CSS.gz file directly?
If not, try deleting the root one. If it doesn't work it's probably a perm issue. If it works, reupload the htaccess and try to delete small sections of it until you find which one crashes it.

fred

  • Posts: 1
Re: Wedge repo -- installation feedback
« Reply #32, on January 21st, 2014, 09:05 PM »
Installation went smooth - but i also had to disable that 'compress files' option for proper display.

I see the following error in my just installed forum:

Code: [Select]
Apply Filter: Only show the error messages of this member fred
Apply Filter: Only show the error messages of this IP address 192.168.0.2    Today at 08:46 PM
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL http://192.168.0.200/wedge/index.php?action=admin;area=serversettings;sa=cache;e…
Apply Filter: Only show the errors with the same message 2: array_merge(): Argument #3 is not an array
Apply Filter: Only show the errors from this file File: /var/www/wedge/gz/app/ManageServer.php
Line: 1
Apply Filter: Only show the error messages of this member fred
Apply Filter: Only show the error messages of this IP address 192.168.0.2    Today at 08:46 PM
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL http://192.168.0.200/wedge/index.php?action=admin;area=serversettings;sa=cache;e…
Apply Filter: Only show the errors with the same message 2: array_combine(): Both parameters should have at least 1 element
Apply Filter: Only show the errors from this file File: /var/www/wedge/gz/app/ManageServer.php
Line: 1

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Wedge repo -- installation feedback
« Reply #33, on January 21st, 2014, 09:29 PM »
That's an interesting one.[1]
However, I can't make anything of your error log until your enable debugging in the Admin > Server > Debugging menu. This will disable PHP minification, and thus give us proper lines for the errors.
I could probably find the array_combine error, but there are too many array_merge's in there.

Re: importer

It's up and running; as I told Pandos in private, I fixed the importer to work on the latest version.
Unfortunately, I'm a bit in a hurry IRL, and will have to postpone everything by a couple of hours.
I'll try to (1) fix a minor bug in the importer, and (2) actually upload it somewhere, before I go to bed.
 1. Apart from the fact that I thought it'd take longer to get lurkers to subscribe, post their first message and just get straight to the point... No nuthin'?

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Wedge repo -- installation feedback
« Reply #34, on January 21st, 2014, 10:11 PM »
On my localost I get this message:

Your settings have now been saved and the database has been populated with all the data required to get your forum up and running. Summary of population:
Created 92 tables.
Inserted 800 rows.
Some of the queries were not executed properly. This could be caused by an unsupported (development or old) version of your database software.

Technical information about the queries:
Line #626: Field 'offlimits_msg' doesn't have a default value
Line #1735: Field 'data' doesn't have a default value

Click "Continue" to progress to the admin account creation page.




I am using:
Software: MySQL
Software version: 5.5.23 - MySQL Community Server (GPL)
Protocol version: 10
User: root@localhost
Server charset:  UTF-8 Unicode (utf8)

Nao

  • Dadman with a boy
  • Posts: 16,062

DoctorMalboro

  • I like rounded borders.
  • Posts: 316
Re: Wedge repo -- installation feedback
« Reply #36, on January 21st, 2014, 11:13 PM »
First of all, congrats on this release! It sure looks like the work of two PHP gurus, hope this goes on and on. It looks quite promising, can't compare it to 2.1 yet because I haven't even take a peek at it.

Second, I got the same error @Farjo did and I also get this in the error log:

URL http://localhost:85/wedge/index.php
8: Undefined offset: 0
C:/wamp/www/wedge/gz/app/Subs-BoardIndex.php
Line: 25

I also get random "Unable to load the "Settings.english" language file." when I use the Wine theme.

Other than that, I'm quite fonding what you two achieved. Well done and congratulations!

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Wedge repo -- installation feedback
« Reply #37, on January 21st, 2014, 11:56 PM »
I tried it again on my localhost and go the same message. However it works on my web space.

So the files are good, it's just my local zend that's got the issue. I don't know what info. you'd need (or probably where to find it).  It's the free version, I installed it in July 2013 and have never upgraded it as I cannot work out how. The only app is phpMyAdmin 3.

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Wedge repo -- installation feedback
« Reply #38, on January 22nd, 2014, 12:00 AM »
@Farjo, are you using Xamp, WampServer or something else?
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
First of all, congrats on this release!
Thanks! Technically it's not a release, though... The long awaited Alpha 3 is coming this week, but I'm only releasing it once all server installation issues are solved.
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
It sure looks like the work of two PHP gurus, hope this goes on and on.
Yeah, I'm hoping that the more skilled users will take an interest in looking at the source code, and see how awesome it is.

For me, personally:
- Class-Skeleton.php, because (1) it's my first attempt at doing pure OOP programming, (2) the skeleton system is VASTLY superior to SMF's layer system.
- Subs-Cache.php, which has so many cool features.
- Class-CSS.php, and its wonderfully obfuscated code. Even I have some trouble reviewing it, from time to time, ah ah.
- script.js, gives you an idea of the amount of work that went behind rewriting SMF JavaScript code. I didn't simply integrate jQuery deeply into it -- I used all of my JavaScript knowledge to make the script as smooth, fast and short as possible. It's optimized *to the byte*. sbox.js is also an interesting piece of JS, in that it is superior to all the competition (jQuery plugins for select box replacements), and does it in *half the size* of the closest 'optimized' competitor (about 2KB gzipped). Again, a lot of work went into this.

For Pete -- I have to say, I think he would like to show off his ban code. Or perhaps his plugin code. He put many months of work into both of these, and it was all very carefully planned ahead. I'm pretty sure he'll push the SMF team into allowing these bits to make their way into SMF 3.0. In a few years time, then...
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
It looks quite promising, can't compare it to 2.1 yet because I haven't even take a peek at it.
Pete has been putting a lot of work into SMF 2.1, too. Sometimes I'll have a look at a list of his commits, pick a random one, and see that he's taken one of his Wedge commits, or ideas, and put it straight into SMF 2.1. It's a bit strange, considering he disavowed Wedge after leaving us. Is he trying to disavow SMF, too? :^^;:
Anyway...

Last year, Pete posted a quick list of features from Wedge that aren't in SMF. (Yes, because he loved SMF and wanted to rejoin them. I'm confused right now.)
http://wedge.org/pub/smf/8175/smf-with-a-different-name-huh/
Of course, many more features were added since then.
I'm pretty positive that despite having talented people in its team (shout out to Suki), SMF has no way to catch up with Wedge, because by the time it does, Wedge will still be more advanced, because I'll be busy catching up with myself.

I'd recommend you compare Wedge with Elk instead. Apart from the silly name, it's better than SMF in every respect.
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
Second, I got the same error @Farjo did and I also get this in the error log:

URL http://localhost:85/wedge/index.php
8: Undefined offset: 0
C:/wamp/www/wedge/gz/app/Subs-BoardIndex.php
Line: 25
Please make sure you enable debug mode in Admin > Server > Debugging (which disabled PHP minification) before you post error logs. Line numbers are useless to me if the file is minified.

Okay, I'll just disable this feature in my next commit. During alpha testing, it's unwise to make debugging harder by default... :^^;:
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
I also get random "Unable to load the "Settings.english" language file." when I use the Wine theme.
Isn't this not because of the Wine skin (not theme!), but because you're browsing through the Theme parts of the Admin area?
I should have specified: the Theme handling code is STILL in Wedge, but it will eventually go. It does NOT work, obviously, because themes themselves don't exist anymore. I just thought that you guys would rather have Wedge earlier, than wait for me to clean everything up and make it look like themes never were here to begin with.
Quote from DoctorMalboro on January 21st, 2014, 11:13 PM
Other than that, I'm quite fonding what you two achieved. Well done and congratulations!
Thanks!
I'll make sure to pass it along to Pete. (Well, of course I won't, but I'm sure he's reading.)

Farjo

  • "a valuable asset to the community"
  • Posts: 492
Re: Wedge repo -- installation feedback
« Reply #39, on January 22nd, 2014, 12:23 AM »
Quote from Nao on January 22nd, 2014, 12:00 AM
@Farjo, are you using Xamp, WampServer or something else?
Um... I probably knew in July but have forgotten now. It says it is Zend Server version 6.1.0. It's running on this laptop which is running Windows 8.1. On the laptop's hard disk it has Apache2, MySQL55 and ZendServer folders.

Does that answer the question? If not I can follow instructions to find out more. And is it important given that it works on my web space?

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Wedge repo -- installation feedback
« Reply #40, on January 22nd, 2014, 12:59 AM »
I don't know. I just want to avoid having to do any boring tech support in the future. This single-handedly killed my enthusiasm in working on Kyodai Mahjongg back in 2006, and there's no reason to think I've changed.

Technically, Wedge is only officially supported on Apache, so you should disable ZendServer if you can, and enable Apache instead.

Farjo

  • "a valuable asset to the community"
  • Posts: 492

Auk

  • Can I get a Box?
  • Posts: 64
Re: Wedge repo -- installation feedback
« Reply #42, on January 22nd, 2014, 01:40 AM »
Well done. On my test VM, extracting the file, the permissions weren't set so I had to set everything to 644/777, afterwards I then experienced issues with the wedge installer being "unthemed" (like in Norodo's pic), managed to get that installed anyway. Then I browsed to my profile to fix the theme problem. Going to admin, I get many file writing related problem, this all points to /gz/keys/ directory, I then fixed that directory to be writable. I'll do further testing here and figure out the problem with installing on my VM. This uses
MySQL version 5.5.33, PHP version 5.5.7-1~dotdeb.1, Apache/2.2.22 (Debian)



Now for my test-remote server that is not hosted on my computer (Free hosting service.) Uploading to my webhost, installing, no problems, it installed flawlessly. No theme problems too. This hosts uses:
MySQL version 5.1.71, PHP version 5.4.17, Apache version 2.2.24, Linux 2.6.32-358.23.2.el6.bl1.1.1_1.x86_64
(x10hosting uses litespeed for webserver.)

Nothing is more despicable than respect based on fear.

wedge.helmer.co

  • Grumpy Old Man
  • Posts: 18
Re: Wedge repo -- installation feedback
« Reply #43, on January 22nd, 2014, 06:02 AM »
Well. I downloaded the zip file and uploaded to my server. There was no install.php in the root. Found it in the install directory. Tried to install from /install/install.php. This caused errors  about not finding certain directories. Copied all files from from /install to root /. Ran the install again and  everything installed without error. Deleted install.php from root and deleted the /install directory.

So far Wedge is installed on one of my sub-domains, wedge.helmer.co. Looking forward to the next release.

Grumpy Old Man,

John

Nao

  • Dadman with a boy
  • Posts: 16,062
Re: Wedge repo -- installation feedback
« Reply #44, on January 22nd, 2014, 09:44 AM »
Quote from ftab4me on January 22nd, 2014, 06:02 AM
Well. I downloaded the zip file and uploaded to my server. There was no install.php in the root.
Never said there would be...
Quote from ftab4me on January 22nd, 2014, 06:02 AM
Found it in the install directory. Tried to install from /install/install.php. This caused errors  about not finding certain directories. Copied all files from from /install to root /.
As indicated in the readme.
Why does nobody read readme files..?
It even shows up in second position in the paragraph list.
http://github.com/Wedge/wedge/
There it is. Second paragraph. Installation. Mentions every step to follow.
The alpha package will ship with all install/ files in the root by default, but for the pre-alpha, I'm expecting people to at least read the readme... :whistle:
Quote from ftab4me on January 22nd, 2014, 06:02 AM
Ran the install again and  everything installed without error. Deleted install.php from root and deleted the /install directory.
Yup.
Quote from ftab4me on January 22nd, 2014, 06:02 AM
So far Wedge is installed on one of my sub-domains, wedge.helmer.co. Looking forward to the next release.
Oh... So you're elk.helmer.co over at Elk's?