Apocalyptical Posted October 2, 2011 Posted October 2, 2011 Everything works except company specials...any ideas? Quote
Damagedcity.com Posted October 2, 2011 Posted October 2, 2011 Is there a way i could add companies through the staff panel? no One Made them yet but its easy to make like that Quote
lucky3809 Posted October 2, 2011 Posted October 2, 2011 07-01-2010 10:16 AM <--- old post to be replying too. As for company specials- maybe read all the thread before asking? and make sure you have read updates where people have gave examples? Quote
Apocalyptical Posted October 2, 2011 Posted October 2, 2011 Ya I've read through the entire thing, tried the compspecial.php and companyspecial.php updates. Have specials showing in database, just doesn't display them on the companyspecials.php page. And yes it may be old but its obviously workable, considering everything else works except that. Quote
lucky3809 Posted October 2, 2011 Posted October 2, 2011 page 3 and 4 has the fixes for the company special, if you cant see them maybe you have a query wrong which makes it not show check your queries make sure they are correct. Quote
Apocalyptical Posted October 2, 2011 Posted October 2, 2011 Yea I tried that, on page 4, page 3 is just the code to make it so you can add the specials through staff panel. Have the page 4, still same thing, which queries do you mean? As far as I can tell the continuity is there, I can't be certain though. Obviously. Quote
Newbie Posted October 3, 2011 Posted October 3, 2011 (edited) i get this error on business_view.php Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/mobst611/public_html/business_view.php on line 30 here is line 30 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. also get this on business_home.php Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/mobst611/public_html/business_home.php on line 107 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Edited October 3, 2011 by Newbie Quote
lucky3809 Posted October 3, 2011 Posted October 3, 2011 the error your getting is the old forum when it was transferred to the new layout it had left new bbcode to the original post which was target_blank and http:// which was not part of the post to begin with just the new forum error here is how it should have been... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Smokey Posted October 3, 2011 Posted October 3, 2011 (edited) You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. If I'm not mistaken the banner image is not secure as in only being able to submit files with an image extension, I really dont know much about security, anyone know how i can do this? Edited October 3, 2011 by Smokey Quote
Newbie Posted October 4, 2011 Posted October 4, 2011 thanks lucky worked i got a new error same type of thing so i did as you said and got this new error any ideas Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/mobst611/public_html/business_view.php on line 107 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Smokey Posted October 4, 2011 Posted October 4, 2011 thanks lucky worked i got a new error same type of thing so i did as you said and got this new error any ideas Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/mobst611/public_html/business_view.php on line 107 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. try You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Newbie Posted October 4, 2011 Posted October 4, 2011 try You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. nope didnt work Quote
Smokey Posted October 4, 2011 Posted October 4, 2011 can you post the whole statement from the print or echo to the '; or "; Quote
Newbie Posted October 5, 2011 Posted October 5, 2011 can you post the whole statement from the print or echo to the '; or "; Ok so i decided to start again from scratch and i got rid of all the errors from before and have come to the last one i hope on this file just cant get it figured out Parse error: syntax error, unexpected T_STRING in /home/mobst611/public_html/business_view.php on line 326 line 326 You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Smokey Posted October 6, 2011 Posted October 6, 2011 You're using double quotes inside double quotes, try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That should work. Quote
Newbie Posted October 6, 2011 Posted October 6, 2011 You're using double quotes inside double quotes, try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. That should work. thanks it did work You wouldnt know how to fix this would ya had a look through the code and cant see it Fireworks stand • <-- these 3 things > View Fireworks stand companies Quote
Smokey Posted October 6, 2011 Posted October 6, 2011 I think that is this line which is line 30 in the original business_view.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Newbie Posted October 6, 2011 Posted October 6, 2011 I think that is this line which is line 30 in the original business_view.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Replace with: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. my line 30 was already what you posted thanks anyways for trying Quote
Smokey Posted October 6, 2011 Posted October 6, 2011 (edited) oh duh...I dont know how i missed that, look in line 28 and remove the small bullet at the end: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. To be honest there is a way you could get the bullet to show properly but i have no idea how. I think using <li> </li> but I'm not sure. Edited October 7, 2011 by Smokey Quote
Newbie Posted October 7, 2011 Posted October 7, 2011 not quite sure about that still learning thanks for the help smokey works fine now Quote
Smokey Posted October 7, 2011 Posted October 7, 2011 Wouldn't • work? Yep you are correct, I learn something new everyday :P and i'm still learning too too newbie, a couple months ago I didnt even know what php code looked like lol Quote
Bennyh789 Posted October 27, 2011 Posted October 27, 2011 help can anyone help i get several erros on business_home.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 192 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 331 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. thanks ben Quote
HITMAN 17 Posted October 27, 2011 Posted October 27, 2011 try this <b>Director:</b> <a href="http://viewuser.php?u='.$r['userid'].'" target="_blank">'.stripslashes($r['username']).'</a> and i cant see and error with your other line Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.