Compilation failed

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
nafise

Compilation failed

Post 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!!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Compilation failed

Post by Dr.CSS »

did you move your install to an online sever?
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: Compilation failed

Post 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.
Last edited by Anonymous on Mon Jun 26, 2006 5:34 am, edited 1 time in total.
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
nafise

Re: Compilation failed

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Compilation failed

Post by Dr.CSS »

how did you move it?...
works for me every time...

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

Re: Compilation failed

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Compilation failed

Post by Dr.CSS »

are they running the same sever os ...
nafise

Re: Compilation failed

Post by nafise »

no. my online server's os is linux, while i have windows offline.
nafise

Re: Compilation failed

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Compilation failed

Post 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...
Locked

Return to “CMSMS Core”