Probleem Shop Mod 300 van zarath.com
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

paul schreef:Sql wel uitgevoerd?
en voer anders deze query's eens uit in phpmyadmin:En is je prefix wel phpbb_?Code: Selecteer alles
REPAIR TABLE `phpbb_user_items`; REPAIR TABLE `phpbb_shopitems`;
Deze querie

heeft ie toch al uitgevoerdcalimero schreef:hij geeft dit aan nu ik het gedaan hebt zo ff kijken of het gelukt is
Uw SQL-query is succesvol uitgevoerd.
SQL-query:
REPAIR TABLE `phpbb_user_items` ;# Rijen: 1
REPAIR TABLE `phpbb_shopitems` ;# Rijen: 1

Raimon - phpBB.com Styles Team Leader
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
- Bas
- Berichten: 2741
- Lid geworden op: 02 dec 2003, 17:38
- Locatie: Omgeving Goslar (Duitsland)
- Contacteer:
Nee, deze query:

Code: Selecteer alles
SELECT a.*, count(a.item_name) as amount, b.special_link FROM phpbb_user_items a LEFT JOIN phpbb_shopitems b ON a.item_id = b.id WHERE a.user_id='2' AND ( a.worn = 0 OR a.worn = 1 ) AND a.die_time = 0 GROUP BY `item_name` UNION SELECT a.*, '1' as amount, b.special_link FROM phpbb_user_items a LEFT JOIN phpbb_shopitems b ON a.item_id = b.id WHERE a.user_id = '2' AND a.die_time != 0 ORDER BY `id`

.Bas Hosting, gratis hosting met FTP, PHP en MySQL | viennaCMS, simpel flexibel open source CMS
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
dan krijg ik dit
Code: Selecteer alles
Fout
SQL-query:
SELECT a . * , count( a.item_name ) AS amount, b.special_link
FROM phpbb_user_items a
LEFT JOIN phpbb_shopitems b ON a.item_id = b.id
WHERE a.user_id = '2'
AND (
a.worn =0
OR a.worn =1
)
AND a.die_time =0
GROUP BY `item_name`
UNION SELECT a . * , '1' AS amount, b.special_link
FROM phpbb_user_items a
LEFT JOIN phpbb_shopitems b ON a.item_id = b.id
WHERE a.user_id = '2'
AND a.die_time !=0
ORDER BY `id`
LIMIT 0 , 30
- Bas
- Berichten: 2741
- Lid geworden op: 02 dec 2003, 17:38
- Locatie: Omgeving Goslar (Duitsland)
- Contacteer:
En welke fout staat daar dan onder? 

.Bas Hosting, gratis hosting met FTP, PHP en MySQL | viennaCMS, simpel flexibel open source CMS
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
deze bedoel je
Code: Selecteer alles
MySQL retourneerde:
#1064 - You have an error in your SQL syntax near 'UNION SELECT a.*, '1' as amount, b.special_link FROM phpbb_user_items a LEFT JOI' at line 1
paul schreef:Das vreemd. kan je eens uitzoeken welke mysql versie je host heeft?
Code: Selecteer alles
Welkom op phpMyAdmin 2.6.0-pl3
MySQL 3.23.58 [quote][/quote]
- Bas
- Berichten: 2741
- Lid geworden op: 02 dec 2003, 17:38
- Locatie: Omgeving Goslar (Duitsland)
- Contacteer:
Dan zal het niet werken op je host. 
Die MOD heeft tenminste MySQL 4.0 nodig.

Die MOD heeft tenminste MySQL 4.0 nodig.

Wat is nieuw in MySQL 4.0? schreef: #
Standards compliance, portability, and migration
*
MySQL Server added support for the UNION statement, a standard SQL feature.
*
Starting with version 4.0, MySQL runs natively on Novell NetWare 6.0 and higher. See Section 2.6, “Installing MySQL on NetWare”.
*
Features to simplify migration from other database systems to MySQL Server include TRUNCATE TABLE (as in Oracle) .
.Bas Hosting, gratis hosting met FTP, PHP en MySQL | viennaCMS, simpel flexibel open source CMS
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hoe ban je tegenwoordig? 'Deny' bij alle rechten!
Hu de Host die calimero heeftBee schreef:Welke host gebruikt er nu nog MySQL 3.23

Raimon - phpBB.com Styles Team Leader
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads
phpBBservice.nl - Nederlands phpBB Support Forum || Nederlandse phpBB3 Downloads