Wedge repo -- installation feedback

Nao

  • Dadman with a boy
  • Posts: 16,058
Wedge repo -- installation feedback
« on January 21st, 2014, 04:13 PM »Last edited on January 21st, 2014, 06:53 PM
I was in the process of writing the blog post about it all. (Yesterday, I spent like an hour writing the README for the repo[1], so it felt comparatively faster.)
Anyway, yeah, the importer will be ready when it's ready, and since it still worked a few weeks ago, I'm guessing it doesn't require a lot of work, and I could even fix it now, but... Really, REALLY, all I want is to finish that pesky movie I was watching.
 1. Hopefully you don't find its humor too lacking in taste... That's what happens when you're over-stressed :P

Wanchope

  • Posts: 232
Re: Wedge repo -- installation feedback
« Reply #1, on January 21st, 2014, 04:45 PM »
Hey havoc Havok, you should have allowed @Nao to make the official announcement. He deserved it.
Posted: January 21st, 2014, 04:45 PM

Hey havoc Havok, you should have allowed @Nao to make the official announcement. He deserves it.

Nao

  • Dadman with a boy
  • Posts: 16,058
Re: Wedge repo -- installation feedback
« Reply #2, on January 21st, 2014, 04:50 PM »
He just created a topic, but I made the announcement first (this post), and wrote a longer blog post to announce it 'properly'.
If we can't open ourselves to external scrutiny, then it should have remained a private project... ;)

Powerbob

  • Posts: 151

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: Wedge repo -- installation feedback
« Reply #4, on January 21st, 2014, 05:19 PM »
After unzipping Wedge and starting installation it notifies me that I do not have the languages folder:



Is this as intended?

Pandos

  • Living on the edge of Wedge
  • Posts: 635
# dpkg-reconfigure brain
error: brain is not installed or configured

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469

Pandos

  • Living on the edge of Wedge
  • Posts: 635

Powerbob

  • Posts: 151

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469
Re: Wedge repo -- installation feedback
« Reply #9, on January 21st, 2014, 05:40 PM »Last edited on January 21st, 2014, 05:56 PM
I too get
Quote
Populated Database

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 86 tables.
Inserted 805 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 #640: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 1,
PRIMARY KEY (cat_order, id_cat),
UNIQUE id_cat ' at line 5
Line #647: Table 'wino_wedge.wedge_categories' doesn't exist
Line #691: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 0,
hidden tinyint(1) unsigned NOT NULL default 0,
' at line 6
Line #780: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 0,
PRIMARY KEY (id_lang, is_plugin, lang_file, lang_' at line 7
Line #1215: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 0,
PRIMARY KEY (id_mail),
KEY time_sent (time_sent' at line 10
Line #1254: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 0,
name varchar(255) NOT NULL default '',
descript' at line 4
Line #1289: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned NOT NULL default 0,
searchable bit(1) unsigned NOT NULL default 0,
' at line 6
Click "Continue" to progress to the admin account creation page.
PHP Version 5.3.28. MySQL: MariaDB 5.3

EDIT:

BRB. Checking if this might be a side function of me forgetting to turn off safe-mode.

EDIT 2: Nope. Same problem persists on Apache 2.4, PHP 5.5 without safe_mode.

In addition I get this error when I open the root dir:

Code: [Select]
Warning: copy(/home/public/beta/wedge-master/gz/app/Class-System.php): failed to open stream: Permission denied in /home/public/beta/wedge-master/index.php on line 247

Warning: php_strip_whitespace(/home/public/beta/wedge-master/gz/app/Class-System.php): failed to open stream: No such file or directory in /home/public/beta/wedge-master/index.php on line 439

Warning: file_put_contents(/home/public/beta/wedge-master/gz/app/Class-System.php): failed to open stream: Permission denied in /home/public/beta/wedge-master/index.php on line 428

Warning: require_once(/home/public/beta/wedge-master/gz/app/Class-System.php): failed to open stream: No such file or directory in /home/public/beta/wedge-master/index.php on line 252

Fatal error: require_once(): Failed opening required '/home/public/beta/wedge-master/gz/app/Class-System.php' (include_path='.:/usr/local/php/5.5.8-nfsn1/lib/:/usr/local/php/lib/') in /home/public/beta/wedge-master/index.php on line 252
Re: Wedge repo -- installation feedback
« Reply #10, on January 21st, 2014, 05:50 PM »
In the meantime, I have also noticed that the installer is unstyled.

Chrome console output:
Code: [Select]
Failed to load resource: the server responded with a status of 404 (Not Found) http://zeldaengine.net/beta/wedge-master/gz/css/install/chrome32-318221.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://zeldaengine.net/beta/wedge-master/%3Cbr%20/%3E%3Cb%3EWarning%3C/b%3E…br%20/%3Ehttp://zeldaengine.net/beta/wedge-master/gz/js/script-m-318221.js
Uncaught TypeError: Object [object Object] has no method 'sb' install.php:101
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Nao

  • Dadman with a boy
  • Posts: 16,058
Re: Wedge repo -- installation feedback
« Reply #11, on January 21st, 2014, 06:19 PM »
Hmm... I guess it's because of the BIT(1) element.

Open install.sql, and replace all occurrences of bit(1) with tinyint(1) -- that should help.

I don't get why it doesn't work, though. The official MySQL website does say that it was introduced in v5.0.3, which is the minimum version Wedge will accept.
Perhaps an incompatibility in the install.php file, I don't know... Will look into it.

Great movie, BTW.
Re: Wedge repo -- installation feedback
« Reply #12, on January 21st, 2014, 06:20 PM »
Quote from Norodo on January 21st, 2014, 05:40 PM
In addition I get this error when I open the root dir:

Code: [Select]
Warning: copy(/home/public/beta/wedge-master/gz/app/Class-System.php): failed to open stream: Permission denied in /home/public/beta/wedge-master/index.php on line 247
You have to follow the instructions... :P
/gz/ and its sub-folders need to be writable (CHMOD 0755).

If /gz/ is writable, I *could* consider creating all of the sub-folders on the fly, either at install time or execution time. That would make less folders to fix, I don't know.

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Wedge repo -- installation feedback
« Reply #13, on January 21st, 2014, 06:41 PM »
Quote from Nao on January 21st, 2014, 06:19 PM
Hmm... I guess it's because of the BIT(1) element.

Open install.sql, and replace all occurrences of bit(1) with tinyint(1) -- that should help.

I don't get why it doesn't work, though. The official MySQL website does say that it was introduced in v5.0.3, which is the minimum version Wedge will accept.
Perhaps an incompatibility in the install.php file, I don't know... Will look into it.

Great movie, BTW.
Seems you hit a bug in MySQL :)
Read somtimes about problems with unsigned BIT.

havok

  • Posts: 29
Re: Wedge repo -- installation feedback
« Reply #14, on January 21st, 2014, 06:46 PM »
Quote from Wanchope on January 21st, 2014, 04:45 PM
Hey havoc Havok, you should have allowed @Nao to make the official announcement. He deserves it.
i am sorry, i should really have waited....if there is a way you can lock this topic or remove it and start an official launch thread..
 :^^;: