lfiffe Posted November 19, 2012 Share Posted November 19, 2012 I bought a 2007 admin script and I'm having some problems with it. When I open the admin panel and try to access different options, I always get the same error: Invalid arguments passed in /home/u231709426/public_html/test/admin/index.php on line 265. here is the <form> with the error in it: <FORM action="index.php" method="POST"> <INPUT type="hidden" name="q" value="'.$q.'"> line 265 - <TEXTAREA name="text" rows=20 cols=80>'.stripslashes(implode("",$text)).'</TEXTAREA> <br><INPUT type="submit" name="submit" value="Save page"> </FORM>'; Any help would be greatly appreciated. Thank you for your time - lfiffe Quote Link to comment https://forums.phpfreaks.com/topic/270925-newbie-needs-help-with-oldie-script/ Share on other sites More sharing options...
jcbones Posted November 19, 2012 Share Posted November 19, 2012 You need to find out where $text comes from, it is most likely empty, or a string. Quote Link to comment https://forums.phpfreaks.com/topic/270925-newbie-needs-help-with-oldie-script/#findComment-1393664 Share on other sites More sharing options...
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.