darkfreaks Posted October 16, 2007 Author Share Posted October 16, 2007 how would i know what to look for it doesnt tell me where or anything i am thinking of just giving up and putting it back. :-\ Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-370410 Share on other sites More sharing options...
teng84 Posted October 16, 2007 Share Posted October 16, 2007 this is part of your sql statement Unknown column '3032b3528303032' in 'where clause' Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-370411 Share on other sites More sharing options...
darkfreaks Posted October 16, 2007 Author Share Posted October 16, 2007 nevermind appearantly it somehow inserts the session id into the user id to the basket so i had to go delete it. anyway is there anyway to get it to stop redeclaring? now that i put it back. Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-370412 Share on other sites More sharing options...
darkfreaks Posted October 16, 2007 Author Share Posted October 16, 2007 anyone got any ideas why maybe its bad coding i dont know ??? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-370904 Share on other sites More sharing options...
darkfreaks Posted October 17, 2007 Author Share Posted October 17, 2007 i changed all my includes to include_once nothing happening and also i changed if($_SERVER_REQUEST_METHOD=="POST") { to if($_POST){ and i still get the function redeclare error? perhaps the error lies within the admin side of the script and not the user? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371265 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 debug ! remove all the includes first then add them onebyone to check what file/s causes that error Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371270 Share on other sites More sharing options...
darkfreaks Posted October 17, 2007 Author Share Posted October 17, 2007 i did find a missing bracket however that didnt do it. its not the script all the pages work fine on the addon script it has to be something with the cart? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371278 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 can you post the codes for that cart? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371279 Share on other sites More sharing options...
darkfreaks Posted October 17, 2007 Author Share Posted October 17, 2007 i wouldnt know where to begin teng that cart is composed of more than one file ??? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371281 Share on other sites More sharing options...
darkfreaks Posted October 17, 2007 Author Share Posted October 17, 2007 i looked on the error log for the cart and there is no errors about the newsletter ps- this is starting to frustrate me it worked in the previous version of the cart what could they possibly have changed? Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371282 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 i look at your pages and i dont see any part of that code that will process news so no output well if im wrong post the code for that (display news) Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371287 Share on other sites More sharing options...
darkfreaks Posted October 17, 2007 Author Share Posted October 17, 2007 im going wait on the owner of the script to solve his own problem my code works fine meh. its his coding not mine not worried. Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371289 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 ooops dont loose hope thats nothing compare to what i have experience look before i graduated i got hired so basically all i know it theory but they asked me to create a page generated by AJAX i dont about that sh@#$ but i was able to finish all thosedamn thing in two days meaning i have to study and learn ajax for 4 hours and for a fressh grd or newb thats waas really hard and actually alot more so cheers uyou can do that any ways we're helping you LOL Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371292 Share on other sites More sharing options...
teng84 Posted October 17, 2007 Share Posted October 17, 2007 based on what i saw tell the author of that script that its really ugly lol Link to comment https://forums.phpfreaks.com/topic/73397-solved-cannot-redclare-function-error/page/2/#findComment-371295 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.