Log In · Register

 
 
Reply to this topicStart new topic
Cutenews Isn't Showing Up, blank
Mikeplyts
post Mar 19 2009, 11:36 AM
Post #1


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



I use Cutenews on my site but for some reason, it isn't showing. I checked all my cutenews files and I also checked the PHP code used to display the news. I made sure that I used a PATH url instead of a full url. I can't seem to find anything wrong with it so it could be my comp. Does anybody have any idea as to why this could be happening?

*sigh*



Thanks.
 
fixtatik
post Mar 19 2009, 11:52 AM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



would you mind giving the full code to the page you're trying to display cutenews? it's next to impossible to figure out a PHP error without the original source code, since it's server rendered.
 
Mikeplyts
post Mar 19 2009, 12:04 PM
Post #3


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Ok.

CODE
<html>
<head>
<meta http-equiv="Content-Type" content="text/javascript; charset=iso-8859-1" />
<title>Mikeplyts.net - Layouts,HTML/CSS Codes&Help,And Photo Editing/Graphic Design</title>
<link rel="stylesheet" href="http://www.mikeplyts.net/site/natural_cleaniness.css" type="text/css" />
<meta name="description" content="Myspace Layouts,HTML/CSS Codes&Help,And Photo Editing/Graphic Design" />
<meta name="keywords" content="mikeplyts, mikeplyts.net, layouts, myspace, myspace layouts, html, css, html/css, photo, editing, photo editing, graphic, design, graphic design, tutorials, resources, brushes, backgrounds, patterns, wallpaper, textures, requests, free, free requests, services, designs" />
<link rel="shortcut icon" href="http://www.mikeplyts.net/favicon.ico" type="image/x-icon">
</head>
<body>
<div id="header">
<img src="http://www.mikeplyts.net/images/mpldotnet-main_header2.png" border="0">
</div>
<div id="left">
<h3>Get Around</h3>
<a class="nav" href="main.php" target="_self">Home</a><br/>
<a class="nav" href="site.php" target="_self">Site</a><br/>
<a class="nav" href="contact.php" target="_self">Contact</a><br/>
<a class="nav" href="credits.php" target="_self">Credits</a><br/>
<a class="nav" href="faq.php" target="_self">FAQ</a><br/><br/>
<h3>Myspace</h3>
<a class="nav" href="myspace/layouts/div.php" target="_self">DIV Layouts</a><br/>
<a class="nav" href="myspace/layouts/default.php" target="_self">Default Layouts</a><br/>
<a class="nav" href="myspace/codes.php" target="_self">Codes</a><br/>
<a class="nav" href="myspace/comment_boxes.php" target="_self">Comment Boxes</a><br/>
<a class="nav" href="myspace.php" target="_self">All Myspace Content</a><br/><br/>
<h3>Graphics</h3>
<a class="nav" href="graphics/banners.php" target="_self">Banners</a><br/>
<a class="nav" href="graphics/wallpaper.php" target="_self">Wallpaper</a><br/>
<a class="nav" href="graphics/avatars-icons.php" target="_self">Avatars/Icons</a><br/>
<a class="nav" href="graphics/smileys.php" target="_self">Smileys</a><br/><br/>
<h3>Resources</h3>
<a class="nav" href="resources/brushes.php" target="_self">Brushes</a><br/>
<a class="nav" class="nav" href="resources/textures.php" target="_self">Textures</a><br/>
<a class="nav" href="resources/patterns.php" target="_self">Patterns</a><br/>
<a class="nav" href="resources/backgrounds.php" target="_self">Backgrounds</a><br/>
<a class="nav" href="resources/tutorials.php" target="_self">Tutorials</a><br/><br/><br/>
<div id="eXTReMe"><a href="http://extremetracking.com/open?login=mplnet">
<img src="http://t1.extreme-dm.com/i.gif" style="border: 0;"
height="38" width="41" id="EXim" alt="eXTReMe Tracker" align="left" /></a>
<script type="text/javascript"><!--
var EXlogin='mplnet' // Login
var EXvsrv='s11' // VServer
EXs=screen;EXw=EXs.width;navigator.appName!="Netscape"?
EXb=EXs.colorDepth:EXb=EXs.pixelDepth;EXsrc="src";
navigator.javaEnabled()==1?EXjv="y":EXjv="n";
EXd=document;EXw?"":EXw="na";EXb?"":EXb="na";
EXd.write("<img "+EXsrc+"=http://e2.extreme-dm.com",
"/"+EXvsrv+".g?login="+EXlogin+"&amp;",
"jv="+EXjv+"&amp;j=y&amp;srw="+EXw+"&amp;srb="+EXb+"&amp;",
"l="+escape(EXd.referrer)+" height=1 width=1>");//-->
</script><noscript><div id="neXTReMe"><img height="1" width="1" alt=""
src="http://e2.extreme-dm.com/s11.g?login=mplnet&amp;j=n&amp;jv=n" />
</div></noscript></div> <!-- Start FastOnlineUsers.com -->
<a href="http://www.fastonlineusers.com"><script type="text/javascript" src="http://fastonlineusers.com/on3.php?d=mikeplyts.net"></script> online</a>
<!-- End FastOnlineUsers.com --><br/>
<a href="http://www.myspace.com/mikeplytscaulm4u" target="_blank">Add Mikeplyts On Myspace</a>
</div>
<div id="right">
<h3>Latest Update</h3>
<div style="height: 200px; overflow: auto;">
<?php include("site/latestupdate.php");?></div><br/><br/>
<h3>Affiliates</h3>
<center><a href="affiliates.php" target="_self">View All</a> | <a href="apply.php" target="_self">Apply</a></center><br/>
<div style="height: 200px; overflow: auto;">
<?php include("site/affies.php");?></div>
</div>
<div id="main">
<?PHP
$number=1;
$only_active=TRUE;
include("/mikeplyts/cutenews/show_news.php");
?>
<br/>
<font style="font-size:10px;">Check out these blogs: <a href="http://www.fameone.net/" target="_blank"><b>Brandon</b> of <b>FameONE.net</b></a></font><br/><br/>
<center><?php include("copyright.php");?></center>
</div>
</body>
</html>
 
Maccabee
post Mar 19 2009, 12:29 PM
Post #4


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



Um your site isnt showing up? Did you accidentally cut and paste the code or something? but for your problem try these different things... since I cant view your site or know the location of all the directories change /mikeplyts/cutenews/show_news.php to mikeplyts/cutenews/show_news.php and then try .../mikeplyts/cutenews/show_news.php The dots tell it to go a folder down. And of course check all the directories and the spelling and that kinda stuff.


Also what is this: $only_active=TRUE; I have never seen it before and it may be interfering.

README
 
Mikeplyts
post Mar 19 2009, 12:53 PM
Post #5


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



$only_active=TRUE; is something that I used to only show the active news. I forgot where I got it from but I tried removing it. It still didn't work though.
 
fixtatik
post Mar 19 2009, 12:58 PM
Post #6


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



does it work if you remove both parameters ($number=1; and $only_active=TRUE;)? the server is reading show_news.php (otherwise it would return false and display an error), so it might have something to do with that.
 
Maccabee
post Mar 19 2009, 01:00 PM
Post #7


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



QUOTE(fixtatik @ Mar 19 2009, 12:58 PM) *
does it work if you remove both parameters ($number=1; and $only_active=TRUE;)? the server is reading show_news.php (otherwise it would return false and display an error), so it might have something to do with that.


Ya your right?! SInce it is pointing to the right place make sure you check the actual cutenews file its pointing to. And make sure you have chmod all cutenews files to 777. If you dont know how to do that I can post some screenshots.
 
Mikeplyts
post Mar 19 2009, 01:05 PM
Post #8


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Yeah, I already CHMOD all the right files and I've also tried removing those two parameters but it still won't show. I even tried using the PHP code on a blank page using only the include parameter but it was still blank. That makes me think that there's a problem with my show_news.php file but I checked it and it looked completely fine to me.
 
fixtatik
post Mar 19 2009, 01:06 PM
Post #9


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



^^ his server is writing to the storage file just fine, so it's not a chmod problem. you could go to his show_news.php file and the entries display properly.
 
Maccabee
post Mar 19 2009, 01:09 PM
Post #10


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



Man...this is weird?! Umm you could try and make sure php is enabled on your site? But all your other includes are working!

id still suggest trying to take away the / in the include. And may I ask why do you have cutenews in a folder called mikeplyts? Why dont you just put cutenews in the public_html folder?
 
Mikeplyts
post Mar 19 2009, 01:12 PM
Post #11


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



inorite. Ugh...this is so confusing. sad.gif stubborn.gif
 
Maccabee
post Mar 19 2009, 01:15 PM
Post #12


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



I just dont see what could be causing the problem?!

hmmmm....you might wanna just re install it?
 
Mikeplyts
post Mar 19 2009, 01:17 PM
Post #13


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



I guess so but maybe later.

I might try using Wordpress instead. shrug.gif
 
fixtatik
post Mar 19 2009, 01:20 PM
Post #14


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



er...it's showing up now. was it really the slash?
 
Mikeplyts
post Mar 19 2009, 01:21 PM
Post #15


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



holy crap. It was.

I tried removing it but it didn't work then. That was wierd.
 
Maccabee
post Mar 19 2009, 03:14 PM
Post #16


Senior Member
*******

Group: Official Designer
Posts: 5,880
Joined: Nov 2007
Member No: 593,382



So I was right? huh.gif

WOO HOO! laugh.gif
 
manny-the-dino
post Mar 19 2009, 04:00 PM
Post #17


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Lol so... topic closed?
 

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: