Page 1 of 1

Compilation failed

Posted: Sun Jun 25, 2006 12:42 pm
by nafise
hi! i am using cmsms about 2 months (but i setup it offline), and untill now i have almost no serious problem.
but about my problem;when a page has a child, and i go to that page i get this warning:
Warning: Compilation failed: unrecognized character after (? at offset 11 in /home/httpd/vhosts/rdcebiz.com/httpdocs/rahnemaco/index.php on line 117. (4 times).

i have not this problem while working offline, but since i setup my site online i get this warning!!

Re: Compilation failed

Posted: Sun Jun 25, 2006 1:52 pm
by Dr.CSS
did you move your install to an online sever?

Re: Compilation failed

Posted: Mon Jun 26, 2006 5:33 am
by Elijah Lofgren
mina wrote: hi! i am using cmsms about 2 months (but i setup it offline), and untill now i have almost no serious problem.
but about my problem;when a page has a child, and i go to that page i get this warning:
Warning: Compilation failed: unrecognized character after (? at offset 11 in /home/httpd/vhosts/rdcebiz.com/httpdocs/rahnemaco/index.php on line 117. (4 times).

i have not this problem while working offline, but since i setup my site online i get this warning!!
It could be that your online server has different PHP versions or has a different setup.

Try doing this:

Open config.php and change this:

Code: Select all

$config['use_hierarchy'] = true;
to this:

Code: Select all

$config['use_hierarchy'] = false;

If that does not work, try this:

Open config.php and change this:
Code:

Code: Select all

$config['internal_pretty_urls'] = true;
to this:

Code: Select all

$config['internal_pretty_urls'] = false;
In the next version of CMSMS this will be off by default.

Re: Compilation failed

Posted: Mon Jun 26, 2006 5:48 am
by nafise
Elijah Lofgren
i make these changes, but i still get these warnings.

and mark
yes, i do not install it on online server, i copy the installation to online server.and change the setting in config.php.

Re: Compilation failed

Posted: Mon Jun 26, 2006 5:53 am
by Dr.CSS
how did you move it?...
works for me every time...

http://forum.cmsmadesimple.org/index.ph ... 376.0.html

Re: Compilation failed

Posted: Mon Jun 26, 2006 6:00 am
by nafise
i dont move it like this.i change the settings in config.php, and upload the directory 'cmsmadesimple'. then dump the offline db and execute it on online mysql.i do this before in my offline server without any problem.

Re: Compilation failed

Posted: Mon Jun 26, 2006 6:02 am
by Dr.CSS
are they running the same sever os ...

Re: Compilation failed

Posted: Mon Jun 26, 2006 6:03 am
by nafise
no. my online server's os is linux, while i have windows offline.

Re: Compilation failed

Posted: Mon Jun 26, 2006 6:59 am
by nafise
so sorry!when i made the changes that  Elijah Lofgren had suggested, i just refreshed the page and so get the error.i make the changes again and this time click the links, so the url change(the parent is not shown this time in the url)and it works!
mark! i'm sorry of getting your time.

Re: Compilation failed

Posted: Mon Jun 26, 2006 7:01 am
by Dr.CSS
diff. db... ms/offline linux/online... might be the problem... could be a config thing check for what kind of db and os it calls...