abenzer/represent-map

Installation with wamp server.

Opened this issue · 5 comments

Hi,

just m trying to install represent-map-master on localhost via WAMP server.

i am getting this error after accessing index.php

"Parse error: syntax error, unexpected end of file in C:\wamp\www\map\index.php on line 679"

please help me , or can anyone give me video tutorial for installation.

sorry i dont know where to ask query abt installation. so i wrote here.

It looks like WAMP might not support short tags, based on this:
http://bytes.com/topic/php/answers/761830-wamp-server-problem-php-code-not-being-executed

Try setting this in your php.ini file:
short_open_tag = On

Thanks for prompt response.

by default my short_open_tag = On

other site working well on WAMP. so i don't thing so there is a problem of WAMP.

here m attaching my DB.php let me know if anything configured wrongly.

$head_html = ""; // The <title></title> tag $title_tag = "represent.la - map of the Los Angeles startup community"; // The latitude & longitude to center the initial map $lat_lng = "34.034453,-118.341293"; // Domain to use for various links $domain = "http://www.represent.la"; // Twitter username and default share text $twitter = array( "share_text" => "Let's put Los Angeles startups on the map:", "username" => "chetan" ); // Short blurb about this site (visible to visitors) $blurb = "This map was made to connect and promote the Los Angeles tech startup community. Let's put LA on the map!"; // attribution (must leave link intact, per our license) $attribution = " Based on RepresentLA "; // add startup genome to attribution if integration enabled if($sg_enabled) { $attribution .= "

Data from StartupGenome "; } ?>

Ah! I think I see the problem.

Remove the brackets from your config.

Should be
$db_name=”map”;
Instead of
$db_name=”[map]”;

This applies to all config, not just $db_name.

On March 25, 2014 11:35:02 PM EDT, Makwana Chetan notifications@github.com wrote:

Thanks for prompt response.

by default my short_open_tag = On

other site working well on WAMP. so i don't thing so there is a problem
of WAMP.

here m attaching my DB.php let me know if anything configured wrongly.

$head_html = ""; // The <title></title> tag $title_tag = "represent.la - map of the Los Angeles startup community"; // The latitude & longitude to center the initial map $lat_lng = "34.034453,-118.341293"; // Domain to use for various links $domain = "http://www.represent.la"; // Twitter username and default share text $twitter = array( "share_text" => "Let's put Los Angeles startups on the map:", "username" => "chetan" ); // Short blurb about this site (visible to visitors) $blurb = "This map was made to connect and promote the Los Angeles tech startup community. Let's put LA on the map!"; // attribution (must leave link intact, per our license) $attribution = " Based on RepresentLA "; // add startup genome to attribution if integration enabled if($sg_enabled) { $attribution .= "

Data from StartupGenome "; } ?>

Reply to this email directly or view it on GitHub:
#60 (comment)

Hi, I'm facing the same problem and I've already tried to do everything that @charlesthomas told.

What can I do? How can I find the real problem?

I'm using Xampp to run MySQL and Apache.

Thanks

It's almost definitely a short tags disabled issue @nathalianovaes — make sure they are enabled in your PHP config.