Welcome to Geeklog, Anonymous Monday, June 17 2024 @ 01:43 pm EDT

Geeklog Forums

update error


Status: offline

chiloso

Forum User
Junior
Registered: 04/18/05
Posts: 24
just updated my site and i get this error:



Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687

can someone help me out. i didn't change anything on the file.
 Quote

Status: offline

chiloso

Forum User
Junior
Registered: 04/18/05
Posts: 24
tried to upload new files again and i get this message


Parse error: parse error, unexpected T_STRING in /home/puro/public_html/lib-common.php on line 4070
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

chiloso

Anonymous
thanks dirk. now i get this message. (like i said i didn't do anything to the new files except chg the path

An SQL error has occurred. Please see error.log for details.
 Quote

Status: offline

chiloso

Forum User
Junior
Registered: 04/18/05
Posts: 24
thanks dirk, now i get this message:

An SQL error has occurred. Please see error.log for details.

do i have to run the install again? thanks


Quote by chiloso: thanks dirk. now i get this message. (like i said i didn't do anything to the new files except chg the path

An SQL error has occurred. Please see error.log for details.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chiloso: An SQL error has occurred. Please see error.log for details.

And the actual error message form error.log was ...?

bye, Dirk
 Quote

chiloso

Anonymous
confused
[Mon Jul 3 13:45:58 2006] [error] [client 201.140.147.146] File does not exist: /home/puro/public_html/404.shtml
[Mon Jul 3 13:45:58 2006] [error] [client 201.140.147.146] File does not exist: /home/puro/public_html/MSOffice/cltreq.asp
[Mon Jul 3 13:45:58 2006] [error] [client 201.140.147.146] File does not exist: /home/puro/public_html/404.shtml
[Mon Jul 3 13:45:58 2006] [error] [client 201.140.147.146] File does not exist: /home/puro/public_html/_vti_bin/owssvr.dll
[Mon Jul 3 13:38:21 2006] [error] [client 68.124.67.54] File does not exist: /home/puro/public_html/404.shtml
[Mon Jul 3 13:38:21 2006] [error] [client 68.124.67.54] File does not exist: /home/puro/public_html/favicon.ico
[Mon Jul 3 12:23:20 2006] [error] [client 67.166.104.112] File does not exist: /home/puro/public_html/404.shtml
[Mon Jul 3 12:23:20 2006] [error] [client 67.166.104.112] File does not exist: /home/puro/public_html/favicon.ico



Quote by Dirk:
Quote by chiloso: An SQL error has occurred. Please see error.log for details.

And the actual error message form error.log was ...?

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Wrong file. That looks like the contents of Apache's error_log - I'd like to see what's in Geeklog's error.log file: /path/to/geeklog/logs/error.log

bye, Dirk
 Quote

chiloso

Anonymous
here it is. however, no mention about the database



[03-Jul-2006 01:36:38] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:36:47] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:36:49] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:23] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:28] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:34] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:41:56] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:43:10] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4720
[03-Jul-2006 01:47:15] PHP Parse error: parse error, unexpected T_STRING in /home/puro/public_html/lib-common.php on line 4070
[03-Jul-2006 01:47:51] PHP Parse error: parse error, unexpected T_STRING in /home/puro/public_html/lib-common.php on line 4070





Quote by Dirk: Wrong file. That looks like the contents of Apache's error_log - I'd like to see what's in Geeklog's error.log file: /path/to/geeklog/logs/error.log

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chiloso: here it is. however

No, it isn't. I don't know what it is (again looks like Apache's error_log file), but it certainly isn't Geeklog's error.log file.

bye, Dirk
 Quote

chiloso

Anonymous
confused
Apache's error log and geeklog's error file are two different things... that i understand. here is the location of where i am getting the info:

Editing /home/puro/public_html/error_log... here is the log...


-Jul-2006 01:36:38] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:36:47] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:36:49] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:23] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:28] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:38:34] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:41:56] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4687
[03-Jul-2006 01:43:10] PHP Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/puro/public_html/lib-common.php on line 4720
[03-Jul-2006 01:47:15] PHP Parse error: parse error, unexpected T_STRING in /home/puro/public_html/lib-common.php on line 4070
[03-Jul-2006 01:47:51] PHP Parse error: parse error, unexpected T_STRING in /home/puro/public_html/lib-common.php on line 4070

dirk, do you think i have to reinstall the update? thanks,


Quote by Dirk:
Quote by chiloso: here it is. however

No, it isn't. I don't know what it is (again looks like Apache's error_log file), but it certainly isn't Geeklog's error.log file.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chiloso: Apache's error log and geeklog's error file are two different things... that i understand.

Then why do you keep quoting the Apache logfile instead of Geeklog's? I've already pointed you to its location above ...

bye, Dirk
 Quote

chiloso

Anonymous
confused
dirk, please excuse my ignorance. here is the info:


Mon 03 Jul 2006 01:10:13 EDT - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
Mon 03 Jul 2006 01:11:35 EDT - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
Mon 03 Jul 2006 01:13:03 EDT - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all


Quote by Dirk:
Quote by chiloso: Apache's error log and geeklog's error file are two different things... that i understand.

Then why do you keep quoting the Apache logfile instead of Geeklog's? I've already pointed you to its location above ...

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chiloso: Mon 03 Jul 2006 01:10:13 EDT - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all

Make sure you've updated the lib-common.php, i.e. that you use the new one. When installing an upgrade, it's important that you replace all the files.

bye, Dirk
 Quote

Status: offline

chiloso

Forum User
Junior
Registered: 04/18/05
Posts: 24
confused
dirk, did exactly like you said and this is the new error message:

Tue 04 Jul 2006 11:49:00 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndication WHERE (header_tid = 'all')
Tue 04 Jul 2006 12:36:07 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndication WHERE (header_tid = 'all')
Tue 04 Jul 2006 12:37:10 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndication WHERE (header_tid = 'all')
Tue 04 Jul 2006 12:37:51 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndication WHERE (header_tid = 'all')
Tue 04 Jul 2006 12:42:18 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndi

what do you suggest i do? can you do it for me, and i'll pay you. send me your paypal info and i'll gladly pay you.



Quote by Dirk:
Quote by chiloso: Mon 03 Jul 2006 01:10:13 EDT - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all

Make sure you've updated the lib-common.php, i.e. that you use the new one. When installing an upgrade, it's important that you replace all the files.

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chiloso: Tue 04 Jul 2006 11:49:00 EDT - 1054: Unknown column 'header_tid' in 'where clause'. SQL in question: SELECT format, filename, title FROM gl_syndication WHERE (header_tid = 'all')

"header_tid" is a new field in the syndication table in 1.4.0. Did you run the install script in upgrade mode?

bye, Dirk
 Quote

All times are EDT. The time is now 01:43 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content