Re: wampserver 2.2e problem with joomla1.5 and joomla 2.5
Posted by:
mostafa272
(---.rasana.net)
Date: March 19, 2013 07:18PM
I use wampserver 64 bit with windows 7 on my lap top.
at first,I have some problem to open the localhost and phpmyadmin( I recieve "you don't have permisson.." message ,with changing http.conf file ,this problem solved)
but,when I want to install joomla 1.5 (after filling information of database) ,following message is recieved:
" 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 'TYPE=MyISAM CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE `jos_banner` ( `bid` int(11) NOT NULL auto_increment, `cid` int(11) NOT NULL default '0', `type` varchar(30) NOT NULL default 'banner', `name` varchar(255) NOT NULL default '', `alias` varchar(255) NOT NULL default '', `imptotal` int(11) NOT NULL default '0', `impmade` int(11) NOT NULL default '0', `clicks` int(11) NOT NULL default '0', `imageurl` varchar(100) NOT NULL default '', `clickurl` varchar(200) NOT NULL default '', `date` datetime default NULL, `showBanner` tinyint(1) NOT NULL default '0', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `editor` varchar(50) default NULL, `custombannercode` text, `catid` INTEGER UNSIGNED NOT NULL DEFAULT 0, `description` TEXT NOT NULL DEFAULT '', `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0, `ordering` INTEGER NOT NULL DEFAULT 0, `publish_up` datetime NOT NULL default '0000-00-00 00:00:00', `publish_down` datetime NOT NULL default '0000-00-00 00:00:00', `tags` TEXT NOT NULL DEFAULT '', `params` TEXT NOT NULL DEFAULT '', PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), INDEX `idx_banner_catid`(`catid`) ) TYPE=MyISAM CHARACTER SET `utf8` "
and when I run a j1.5 or j2.5 website on localhost some errors in tables are shown:
( ! ) Notice: Undefined variable: my in C:\wamp\www\rojan\templates\encholia\index.php on line 27
Call Stack
# Time Memory Function Location
1 0.0075 695384 {main}( ) ..\index.php:0
2 3.8986 11937608 JSite->render( ) ..\index.php:79
3 3.8996 11938368 JDocumentHTML->render( ) ..\application.php:168
4 3.9013 11939560 JDocumentHTML->_loadTemplate( ) ..\html.php:246
5 3.9149 12022544 require_once( 'C:\wamp\www\rojan\templates\encholia\index.php' ) ..\html.php:338
( ! ) Notice: Trying to get property of non-object in C:\wamp\www\rojan\templates\encholia\index.php on line 27