Parse error: syntax error (install_admin_menu.php line 2)
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Parse error: syntax error (install_admin_menu.php line 2)
Parse error: syntax error, unexpected '.' in /home/localgay/public_html/community/SOURCE/modules/JOOsocial/JOOMeebo/install/install_admin_menu.php on line 2
This is the error that i am getting
BELOW IS THE CODE
<?php
require_once( ../../../../inc/header.inc.php );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
$strAdmMenu =
"
INSERT INTO `sys_menu_admin` (
Last edited by mike24078; 03-29-2010 at 07:00 PM.
Reason: Give thread a proper title.
I have edited your thread title to be more meaningful. Please try to do the same in the future. Also, I *might* move your thread to the /Programming forum since it appears so far to be a programmatical/code error only.
For specific help with this problem (though the error itself is pretty self-explanatory), I suggest posting for us the first half-dozen lines of the file in question. When posting chunks of code, please use [code] tags-- instructions on this can be seen here: Code Tag Usage
Parse error: syntax error, unexpected '.' in /home/localgay/public_html/community/SOURCE/modules/JOOsocial/JOOMeebo/install/install_admin_menu.php on line 2
Parse error: syntax error, unexpected '.' in /home/localgay/public_html/community/SOURCE/modules/JOOsocial/JOOMeebo/install/install_admin_menu.php on line 2
Do not double-post your question in more than one location. You have begun to get help and advice already, at the first location you posted your question (linked above).
I am going to bring your other thread over here to Programming now, and then we'll probably merge the two together.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.