magicbug / Cloudlog

Web based amateur radio logging application built using PHP & MySQL supports general station logging tasks from HF to Microwave with supporting applications to support CAT control.
http://www.cloudlog.co.uk
MIT License
450 stars 189 forks source link

Error after install #120

Closed k9ken closed 11 years ago

k9ken commented 11 years ago

I get this

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/xxxxx/public_html/test/application/config/autoload.php on line 36

Parse error: syntax error, unexpected T_STRING in /home/xxxxx/public_html/test/application/config/autoload.php on line 36

When accessing the page after install.

Any ideas?

nsnw commented 11 years ago

Hi,

Which version of PHP are you using?

k9ken commented 11 years ago

Thanks for the come back. My cpanel says 5.2.17

nsnw commented 11 years ago

I can see what it's complaining about, but I'm not sure why as I'm not able to replicate the problem.

What OS is it running under - Linux or Windows?

k9ken commented 11 years ago

it is a Linux machine...

thanks

From: Andy Smith [mailto:notifications@github.com] Sent: Sunday, January 13, 2013 6:51 AM To: magicbug/Cloudlog Cc: k9ken Subject: Re: [Cloudlog] Error after install (#120)

I can see what it's complaining about, but I'm not sure why as I'm not able to replicate the problem.

What OS is it running under - Linux or Windows?

— Reply to this email directly or view it on GitHub https://github.com/magicbug/Cloudlog/issues/120#issuecomment-12193247 .

https://github.com/notifications/beacon/e1bWZGsU03w0wwQQv-7G2L7PWegjuPlPjgrwe47pvcZLcePOOWRMA7dXYKKFYlnC.gif

nsnw commented 11 years ago

Looks like this can happen if the newline characters in the file get changed.

How did you upload the files to your server?

k9ken commented 11 years ago

I use fillzilla.

From: Andy Smith [mailto:notifications@github.com] Sent: Sunday, January 13, 2013 7:13 AM To: magicbug/Cloudlog Cc: k9ken Subject: Re: [Cloudlog] Error after install (#120)

Looks like this can happen if the newline characters in the file get changed.

How did you upload the files to your server?

— Reply to this email directly or view it on GitHub https://github.com/magicbug/Cloudlog/issues/120#issuecomment-12193482 .

https://github.com/notifications/beacon/e1bWZGsU03w0wwQQv-7G2L7PWegjuPlPjgrwe47pvcZLcePOOWRMA7dXYKKFYlnC.gif

nsnw commented 11 years ago

Okay. I'm not sure what else to suggest, other than trying to reinstall to see if the same issue occurs.

Alternatively, if you feel comfortable editing the code by hand, you could edit application/config/autoload.php and remove everything from line 33 ("case 'development':") down to line 49 ("break") inclusive, as they're only used for development.

k9ken commented 11 years ago

I have actually tried both of these suggestions..

When removing the lines of code

I get this..

The application environment is not set correctly.

thanks for your help..

K9KEN

From: Andy Smith [mailto:notifications@github.com] Sent: Sunday, January 13, 2013 7:39 AM To: magicbug/Cloudlog Cc: k9ken Subject: Re: [Cloudlog] Error after install (#120)

Okay. I'm not sure what else to suggest, other than trying to reinstall to see if the same issue occurs.

Alternatively, if you feel comfortable editing the code by hand, you could edit application/config/autoload.php and remove everything from line 33 ("case 'development':") down to line 49 ("break") inclusive, as they're only used for development.

— Reply to this email directly or view it on GitHub https://github.com/magicbug/Cloudlog/issues/120#issuecomment-12193760 .

https://github.com/notifications/beacon/e1bWZGsU03w0wwQQv-7G2L7PWegjuPlPjgrwe47pvcZLcePOOWRMA7dXYKKFYlnC.gif

magicbug commented 11 years ago

This issue has now been fixed.