Quote:
Originally Posted by Toupsx
Server Type Linux
Web Server Apache (cgi)
PHP 4.4.9
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 20.00 MB
PHP Memory Limit 40.00 MB
MySQL Version 5.0.51a-log
MySQL Packet Size 10.00 MB
Or is there any specific PHP settings that the mod requires to install? A few options in my php are turned off..
Would any of these be limiting it banana so that it couldn't finish installing? I don't see why it's the only mod that just sits there and doesn't install through th product manager for me, anything else will.
It seems that it does do the database edits, just doesn't do any template edits or add the permission settings into my vBulletin... the database edits are done and it just stops after that..
|
I've got very little experience with servers so I cannot tell you if it is a setting stopping you installing but this might work if its problem with usergroup permissions
Open product-tournament2008.xml
Find
PHP Code:
<code version="2.5.1">
<installcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD ladderpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD maxteams INT(10) DEFAULT '1' NOT NULL ;");
]]></installcode>
<uninstallcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup DROP COLUMN maxteams;");]]></uninstallcode>
</code>
Replace with
PHP Code:
<code version="2.5.1">
<installcode><![CDATA[$db->hide_errors();
$arraya = array();
$results = $vbulletin->db->query_read("SHOW COLUMNS FROM ". TABLE_PREFIX ."usergroup");
while($column = $db->fetch_array($results)){
$field = $column['Field'];
$arraya = array_merge((array)$field, $arraya);
}
if (!in_array("tournamentpermissions", $arraya)) {
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD tournamentpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
}
if (!in_array("ladderpermissions", $arraya)) {
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD ladderpermissions INT(10) UNSIGNED DEFAULT '0' NOT NULL ;");
}
if (!in_array("maxteams", $arraya)) {
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup ADD maxteams INT(10) DEFAULT '1' NOT NULL ;");
}
]]></installcode>
<uninstallcode><![CDATA[$db->hide_errors();
$vbulletin->db->query_write("ALTER TABLE ". TABLE_PREFIX ."usergroup DROP COLUMN maxteams;");]]></uninstallcode>
</code>
Quote:
Originally Posted by Spencey
I get this message once ive created a tournament:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 46080 bytes) in /home/sites/mysite.com/public_html/forums/includes/adminfunctions.php on line 936
I've been getting this problem for over a month now, anyone know whats a matter?
|
modify PHP settings to increase memory_limit option
Quote:
Originally Posted by OMGNOWAI
Okay I can edit the usergroup permissions but the link isn't showing up on the index I gave my group full permissions and even when I go to competition.php manually it says I don't have the privilege.
|
Make sure you userid is not in Banned Userids list in Tournament & Ladder Options