|
|||||||
| Tiny Bugs | ||||
|---|---|---|---|---|
| Various Tiny Bugs | ||||
Category Unknown |
Affected Version 1.6.0 rc3 |
Priority 8 |
||
Status Fixed |
Fixed Version 1.6 rc4 |
|||
Submitted 03-07-2008 |
||||
|
||||
|
|
|
|
|
|
Tiny Bugs
Various Tiny Bugs
Tiny Bug #1:
I posted the same thread in response to the Email Problems. I am not sure if this is a major issue but I am almost sure it is a misspelling in the code, that might effect piping or pop3. On line 24 the var $mime_message variable is misspelled; see below. class Mail_Parse { var $mine_message; Hope this is of help. ----------------------------------------------------------------------- Tiny Bug #2: In the include directory, in the class.http.php, the header is misspelled, it reads: class.htpp.php and i think it should be class.http.php. ------------------------------------------------------------------------ Tiny Bug #3: This did not effect, or at least it did not seem to effect the operation of osTicket, but I was getting an error logged, here is the error log: [08-Mar-2008 04:47:25] PHP Warning: require_once(./main.inc.php)[<a href='function.require-once'>function.require-once</a>]:failed to open stream: No such file or directory in /home/mysite/public_html/osticket /scp/staff.inc.php on line 20 [08-Mar-2008 04:47:25] PHP Fatal error: require_once()[<a href='function.require'></a>]:Failed opening required './main.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/mysite /public_html/osTicket/include/:/home/mysite/public_html/ osTicket/include/pear/') in /home/mysite/public_html/osTicket /scp/staff.inc.php on line 20 So i looked in staff.inc.php and could not find a problem, so I wrote a line to try and induce an error by checking for main.inc.php after ROOT_PATH has been defined. After testing with that line in, the error was not induced (it found main.inc.php just fine) and more importantly the original logged error never showed up again!. Below is the original code and the line I added before line 20 in the original code is in red. if(basename($_SERVER['SCRIPT_NAME'])==basename(__FILE__)) die('Habari/Jambo rafiki wangu? '); //Say hi to our friend.. if(!file_exists('../main.inc.php')) die('Fatal error..get tech support'); define('ROOT_PATH','../'); //Path to the root dir. if(!file_exists(ROOT_PATH.'main.inc.php')) die('Fatal Induced error..get Ike'); require_once(ROOT_PATH.'main.inc.php'); |
|
|
||
|
||
|
another tiny bug (I think) :) class.http.php, the header is mis-spelled, it reads:
class.htpp.php and i think it should be class.http.php. |
![]() |
| Issue Tools |
|---|
Subscribe to this issue |