Author Topic: Parse error: syntax error...  (Read 4893 times)

Offline andresme

  • Jr. Member
  • **
  • Posts: 16
Parse error: syntax error...
« on: July 21, 2006, 08:57:34 AM »
Good morning. I seem to be stuck a this problem. If anyone knows a fix, I would sure appreciate it.. Thanks in advance!


Parse error: syntax error, unexpected T_STRING in /home/sapoverd/public_html/mail/config/main.inc.php on line 101

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Parse error: syntax error...
« Reply #1 on: July 21, 2006, 09:02:04 AM »
Sounds like you've edited your config file, and not edited it properly. What does your config file look like from lines 80 to 101?
 
  

Offline yllar

  • Full Member
  • ***
  • Posts: 106
Re: Parse error: syntax error...
« Reply #2 on: July 21, 2006, 09:02:25 AM »
Quote from: andresme
Good morning. I seem to be stuck a this problem. If anyone knows a fix, I would sure appreciate it.. Thanks in advance!


Parse error: syntax error, unexpected T_STRING in /home/sapoverd/public_html/mail/config/main.inc.php on line 101
check your conf (config/main.inc.php) for typos near row 101
irc://irc.freenode.net:6667/#roundcube

Offline andresme

  • Jr. Member
  • **
  • Posts: 16
Re: Parse error: syntax error...
« Reply #3 on: July 21, 2006, 09:40:26 AM »
Thanks for the tips...

I went back and copied and pasted this part of the code to the end of the file straight from the original main.inc.php file as I had changed some of it based on the instructions by Paul...

// use this format for short date display
$rcmail_config['date_short'] = 'D H:i';

Now I have just a blank page but no error code... I had previously deleted the ".htaccess" as I thought that might be possible solution for my previous prob...

Any ideas?


Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Parse error: syntax error...
« Reply #4 on: July 22, 2006, 08:50:46 AM »
Blank page..... look for errors in the log. Make sure the database is set up properly, and you're connecting.
 
  

Offline andresme

  • Jr. Member
  • **
  • Posts: 16
Re: Parse error: syntax error...
« Reply #5 on: July 22, 2006, 01:08:31 PM »
Exactly as you guys said... my database had a to be set up right. So I can log in and do most things in ROUNDCUBE. Now the only problem is that I can't send out mail. I get a "Failed to send" messege. Do you guys know what could cause that? My host has taken me as far as they can as they don't know anything about Roundcube.... (but they should)  :D

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Parse error: syntax error...
« Reply #6 on: July 22, 2006, 02:10:46 PM »
Look for another thread on here about failing to send messages.... tack on to that one as it's the same issue.