Terry_dZi Posted May 27, 2004 Posted May 27, 2004 I have looked through my code and cannot see the problem. Any insight would be appreciated. Thanks Parse error: parse error in /home/dzi_web/public_html/includes/functions/general.php on line 880 Fatal error: Call to undefined function: tep_not_null() in /home/dzi_web/public_html/includes/functions/html_output.php on line 23 Line 880 code I have deleted and added the ?> with the same error problem. I don't see the problem with the code, but obviously there is one: if ($day > $no_of_days[$month - 1]) { return false; } ?>
Guest Posted May 27, 2004 Posted May 27, 2004 if ($day > $no_of_days[$month - 1]) {return false; } ?> should be: if ($day > $no_of_days[$month - 1]) { return false; } If these 2 files are not modified upload fresh copies. And Backup...Backup...Backup
Terry_dZi Posted May 27, 2004 Author Posted May 27, 2004 Thank you for the advice. It gets rid of the first error but I still receive this: Fatal error: Call to undefined function: tep_not_null() in /home/dzi_web/public_html/includes/functions/html_output.php on line 23 if (!tep_not_null($page)) { die('</td></tr></table></td></tr></table><br><br><font color="#ff0000"><b>Error!</b></font><br><br><b>Unable to determine the page link!<br><br>'); } I think the problem is still in my general.php file. I foolishly used the online text editor which corrputed my file and am now in the process of trying to get things back to where they were.
241 Posted May 27, 2004 Posted May 27, 2004 The issue is in the function not being defined in your includes/functions/general.php the one that was corrupted by the online file manager. Fix or replace that file and you will once again smile :D No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
peterr Posted May 27, 2004 Posted May 27, 2004 Hi Terry, I'm seeing a number of posts by you, and I'd suggest that you check that you have uploaded all your files, and check that none of them ate blank, or more to the point, the file sizes are correct. It appears something/s are missing ?? Peter
nrlatsha Posted May 27, 2004 Posted May 27, 2004 And this is your third post with the exact same question. http://www.oscommerce.com/forums/index.php?showtopic=95058 http://www.oscommerce.com/forums/index.php?showtopic=95072 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.