Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I am not very experienced, and need some help to apply a patch please. Basically I want to implement the patch at this link: https://sourceforge.net/tracker/?func=detail&aid=3009648&group_id=103348&atid=635584
How can I do this please?
Please see: http://www.linuxhq.com/patch-howto.html
Worked like a charm.
I see another error now. From looking at this thread : http://seclists.org/snort/2010/q2/847 I think I have to
" change the following line in base_graph_display.php
-- ./base_graph_display.php.orig 2010-03-05 16:06:17.000000000 +0100
+++ ./base_graph_display.php 2010-04-11 23:52:13.000000000 +0200
@@ -114,7 +114,7 @@
// Create the graph area, legends on bottom - Alejandro
- $Graph =& new Image_Graph(array('driver'=>'gd',
+ $Graph = new Image_Graph(array('driver'=>'gd',
If graphs are not displayed properly (php5.3) you have to fix all the pear stuff
(replace ereg_… with preg_…, replace '=& new' with '= new' …) " According to the author of the post. I don't know however how to apply a diff, and where / which file is the "peer stuff" he mentions above. Can you help please? The previous error message was fixed by the patch, and I had to reinstall mysql. I can see the first window of the gui. But once I click on one of the links, I get this error message:
Fatal error: Call to undefined method ProtocolFieldCriteria::ProtocolFieldCriteria() in /var/www/base/includes/base_state_citems.inc.php on line 1113
Let me make sure i'm following you correctly. You were able to install the patch and that fixed the regular expression issue, but you are NOT able to see graphs still? If you paste the diff code above into a text file you can patch it in like a normal .patch file.
Yes. I see the first screen with the summary of various protocols and their related alerts. Once I click on any of the links like the percentage of icmp alerts, I get the following error message: Fatal error: Call to undefined method ProtocolFieldCriteria::ProtocolFieldCriteria() in /var/www/base/includes/base_state_citems.inc.php on line 1113
Here is the url I am trying to go to:
I also tried what you suggested regarding adding the lines above to a file and using the patch command, I then restarted apache, but I see the same error:
root@thunder:/var/www/base# patch -p0 < patch
root@thunder:/var/www/base# /etc/init.d/apache2 restart
* Restarting web server apache2 … waiting
this should be fixed in the CVS version of BASE. Could you give it a try?
For CVS access: http://sourceforge.net/scm/?type=cvs&group_id=103348
The CVS version of BASE can be found under base-php4. Simply ignore that reference to version 4.