Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation with wamp server. #60

Open
chetan0412 opened this issue Mar 25, 2014 · 5 comments
Open

Installation with wamp server. #60

chetan0412 opened this issue Mar 25, 2014 · 5 comments

Comments

@chetan0412
Copy link

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.

@charlesthomas
Copy link

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

@chetan0412
Copy link
Author

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 "; } ?>

@charlesthomas
Copy link

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 [email protected] 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)

@nathalianovaes
Copy link

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

@abenzer
Copy link
Owner

abenzer commented Nov 18, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants