Guest Posted December 1, 2004 Share Posted December 1, 2004 im doing awsome with building my webshop without much help lately,what i have run into is i changed my header banner and for some reason im getting a fatal error in my admin page.this is what its saying Fatal error: Call to undefined function: size() in /home/jnglobal/public_html/admin/includes/header.php on line 51 this is the file its calling the error fromif ($messageStack->size('header') > 0) { echo $messageStack->output('header'); i really dont understand what its asking me for.any help would be great and i thank all you supporters for your information. jeremiah Link to comment Share on other sites More sharing options...
♥Vger Posted December 1, 2004 Share Posted December 1, 2004 admin/includes/header.php on line 51 Ther isn't a line 51 on that page - however there is a line 51 in includes/header.php (with the code you're quoting) - so I'm guessing that you've overwritten your admin/includes/header.php file with your includes/header.php file. Vger Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 Ther isn't a line 51 on that page - however there is a line 51 in includes/header.php (with the code you're quoting) - so I'm guessing that you've overwritten your admin/includes/header.php file with your includes/header.php file. Vger <{POST_SNAPBACK}> so i wonder if there is a way of getting the file im missing,i dont know how i over wrote the file but i know its possable to mess up.could i get a clean file somewhere or is this not fixable. thank you for your help Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 so i wonder if there is a way of getting the file im missing,i dont know how i over wrote the file but i know its possable to mess up.could i get a clean file somewhere or is this not fixable. thank you for your help <{POST_SNAPBACK}> Do you have the original download of OSC? Just copy the file across to your server, unless you have made some severe changes to it! Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 Do you have the original download of OSC? Just copy the file across to your server, unless you have made some severe changes to it! <{POST_SNAPBACK}> i do have a downloaded version and did what you just stated ,i always do a backup but for somereason i had a brain cramp and forgot about the backup. the first reply was what tipped me off to just go to the backup and update it. once again,thank a bunch jeremiah Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.