| Author |
Message |
incisor
Nuke Cadet


Joined: Jun 02, 2003
Posts: 4
|
Posted:
Mon Jun 30, 2003 7:50 pm |
  |
previuosly at sec patch 3 from here...
fitted in security patchs 4 and am getting errors in the forums all over the place
it lists the forums but click to enter and get this error
Parse error: parse error in /usr/home/aulro/public_html/modules/Forums/viewtopic.php on line 758
click on the posts since last login and get
Parse error: parse error in /usr/home/aulro/public_html/modules/Forums/search.php on line 605
any clue appreciated |
|
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Mon Jun 30, 2003 7:58 pm |
  |
I get it too kinda
Parse error: parse error, unexpected T_LOGICAL_AND in /www/m/mbdesignconc/htdocs/modules/Forums/viewtopic.php on line 758 |
_________________ Getting Started | My Projects |
|
   |
 |
incisor
Nuke Cadet


Joined: Jun 02, 2003
Posts: 4
|
Posted:
Mon Jun 30, 2003 9:34 pm |
  |
Found a fix that works for me..
download 6.5 and copy over the modules/Forums/*.* and then copy security fixpack 3 over it and it works again..
just copying fixpack 3 over does not fix it you have to go pack to the orig 6.5 distribution.. |
|
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Tue Jul 01, 2003 3:28 pm |
  |
Ok there seems to be a problem with rhe search.php for the forums as well in the sec fix pack4.
| Code: |
| Parse error: parse error, unexpected T_STRING in /home/virtual/site107/fst/var/www/html/modules/Forums/search.php on line 605 |
CHATSERV!
We have a jacked-up sec fix pack here....
mikem |
_________________ Getting Started | My Projects |
|
   |
 |
ordhor
Premium


Joined: Mar 22, 2003
Posts: 15
Location: Portugal
|
Posted:
Tue Jul 01, 2003 6:46 pm |
  |
i still haven't got the time to check all the files from the security fix pack, including viewtopic.php to see what's wrong (have tried it to and also gives me that error), but i've fixed this file a few time ago.
you can find the necessary changes here and the file fixed here |
_________________ Search is a great tool
 |
|
    |
 |
CanuckKev
Lieutenant


Joined: Jun 02, 2003
Posts: 194
Location: Canada
|
Posted:
Tue Jul 01, 2003 7:22 pm |
  |
I applied secfix 3 in May, then secfix 4 today and I am not experiencing any errors. Did I miss something???
LOL! |
_________________ -CanuckKev
PRESS F5 AND ALL WILL BE CLEAR...
RidersClub |
|
       |
 |
KrAzYwHiTeBoY
Private


Joined: May 26, 2003
Posts: 47
|
Posted:
Wed Jul 02, 2003 7:31 am |
  |
| ordhor wrote: |
| you can find the necessary changes here and the file fixed here |
well this may fix the viewtopics.php issue but the secfix 4 pack also throws errors in the search feature not just in the viewtopics but thx for this fixed file..hehe now we just need to know how to fix the search.php file that's throwin the errors. |
|
|
   |
 |
ordhor
Premium


Joined: Mar 22, 2003
Posts: 15
Location: Portugal
|
Posted:
Wed Jul 02, 2003 1:12 pm |
  |
to have the search.php with the fix and working just do what's in the fixchanges.txt
| Quote: |
19-Open modules/Forums/search.php and find:
WHERE poster_id = " . $userdata['user_id'];;
change to:
WHERE poster_id = " . $userdata['user_id']; |
|
_________________ Search is a great tool
 |
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Thu Jul 03, 2003 6:10 am |
  |
Sorry folks, was not home, will check on the two mentioned files, as mentioned elsewhere in this thread i suggest applying the changes as suggested in the changes file for now. |
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Thu Jul 03, 2003 6:32 am |
  |
Ok, both files should be ok now. |
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
CanuckKev
Lieutenant


Joined: Jun 02, 2003
Posts: 194
Location: Canada
|
Posted:
Thu Jul 03, 2003 6:36 am |
  |
| chatserv wrote: |
| Sorry folks, was not home, will check on the two mentioned files, as mentioned elsewhere in this thread i suggest applying the changes as suggested in the changes file for now. |
Hi Chatserv. Thats probably why I have not seen the errors. I just changed the files as required, not copied over the files.
I thought it might be better for me because of al th little tweaks I have done to get certain things working the way I want. |
_________________ -CanuckKev
PRESS F5 AND ALL WILL BE CLEAR...
RidersClub |
|
       |
 |
ordhor
Premium


Joined: Mar 22, 2003
Posts: 15
Location: Portugal
|
Posted:
Thu Jul 03, 2003 6:39 am |
  |
what can minor mistakes do to a file
i was going to post here the correction to viewtopic.php but it seems it is not necessary |
_________________ Search is a great tool
 |
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Thu Jul 03, 2003 7:40 am |
  |
That is why i include the changes file, most of us have added mods and hacks to our forums, bit of a pain having to re-add them |
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
aleeya
Nuke Cadet


Joined: Jun 25, 2003
Posts: 3
|
Posted:
Fri Jul 04, 2003 7:18 am |
  |
| ordhor wrote: |
what can minor mistakes do to a file
i was going to post here the correction to viewtopic.php but it seems it is not necessary |
I wouldnt mind if you did, I am getting these errors as well |
|
|
   |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Fri Jul 04, 2003 7:23 am |
  |
Did you grab the patch again? i did correct the errors both files had as i stated in my previous post |
_________________ Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources |
|
    |
 |
|
|