Riseykins Posted October 3, 2008 Share Posted October 3, 2008 I have this code, which doesn't seem to be working. I've no idea what's wrong, but it was a paid script...Can anyone see a problem? <? /* Copyright 2007 S. Benjamin If your NOT A PREMIUM MEMBER of creativeaftermath.com and have purchase just this script you are allowed to use this script on two domains. If you are a member of creativeaftermath.com, Your Membership grants you the right to use this script on unlimited domains. Unauthorized sale or redistribution of this script will result in account termination without refund, and possible legal actions! The following applies to everyone: You may modify this script to suit your needs, but you can not resell this script You are not allowed to give this script away, or resell this script or any part of it. Contact info: info@creativeaftermath.com http://www.creativeaftermath.com */ $site_url = "http://www.burningviolet.com/graphics/"; //// URL to graphic folder $path = $_SERVER['/home/burning/public_html/']."/graphics/cat/"; //// Server path to graphic cat folder $sortby = '1'; /// 1 = newest, 2 = Alpha 3 = Random $PBloc = '0'; // set to one to use photobucket URL $rate = '1'; // 1 = turn on rating system $PBURL = 'http://s221.photobucket.com/albums/dd292/creativeaftermath/easy/graphics/'; /// URL for Photobucket $tagNumber = '5'; /// Use how many graphic name for description, meta keywords, and title $CLGP = '1'; // 1= categories are displayed above the graphics $cats_per_row= '6'; //// Number of categories per nav row $thumb_h = '150'; ///thumb height $thumb_w = '175'; ///thumb width $default_cat = 'states';/// Default category $items_per = '9';///items per page. $per_row = '3';///items per row $cellspacing = '35';/// image cellspacing $t_cols = '35';/////Textarea Cols $t_rows = '6';/////Textarea Rows ?> Quote Link to comment Share on other sites More sharing options...
Riseykins Posted October 3, 2008 Author Share Posted October 3, 2008 This is the place I am trying to get it to work on: http://burningviolet.com/graphics/ Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 3, 2008 Share Posted October 3, 2008 First thing I'd change is the short-tags. See at the start how it has just <?. Well change it to <?php. Short-tags are not enabled on all servers which is why it is always best to use the long hand way. Quote Link to comment Share on other sites More sharing options...
Riseykins Posted October 3, 2008 Author Share Posted October 3, 2008 Thanks. I've done that, but am still not having any luck. This script is crap. It didn't even come with installation instructions. I'm not happy. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted October 3, 2008 Share Posted October 3, 2008 If you describe what it is doing and what you see in front of you when you try it, someone can help. Just stating it does not work is pointless, we know it does not work or you would not be posting in a help forum trying to get help. What is are the symptoms? What is the output? What is there in the "view source" in your browser? The author of the script should provide support and since he or the members on his support forum are most familiar with the script, they can offer superior help over what a general purpose php forum could provide. Have you tried the author's site, his FAQ, or his support forum? Quote Link to comment Share on other sites More sharing options...
Riseykins Posted October 3, 2008 Author Share Posted October 3, 2008 There is no support. It's meant to look like this: http://www.easylayoutcms.com/gcms/ The source of my page is just "invalid!". This is the part of the script in index.php that seems to coordinate with the invalid! thingy: if(!is_dir($path.$selected)){ header("HTTP/1.0 404 Not Found"); die('invalid!'); } Quote Link to comment 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.