1) there's a 'hack' for that.
But probably won't suffice for your needs.
2) 'add values' ... is a bit not descriptive. Could be anything.
But C probably wo'nt be able to do that without a hack (or plugin)
26 2012-08-11 09:54:36
Re: quik question (3 replies, posted in Problem Solving / Help & Support)
27 2012-08-11 09:51:24
Re: Can't log in to cutenews ("cannot modify header") (2 replies, posted in Problem Solving / Help & Support)
The sissue has been addressed in the utf-8 topic. Had something to do with the language file beinge read as 'UTF-8 with BOM'
while it should need to be 'UTF-8 without BOM'
With an editor like notepad++ you can open the file and change encoding settings (somewhere under then encoding menu and then theres an option that change the encoding. Don't set the encoding to something else, but do use the change option, they're listed lower)
28 2012-08-07 19:31:28
Re: Cutenews 1.5 (6 replies, posted in Problem Solving / Help & Support)
Cn 1.5.0 seems to use a more object based coding.
Object oriented coding is not supported in the php4 versions (or very very poorly).
It's new in php 5.0.
And php 5 has been out for years now...You don't see many host that still use php4
29 2012-07-20 17:35:58
Re: Latest news (2 replies, posted in Problem Solving / Help & Support)
the Next >> is a template.
Remove it.
30 2012-07-19 14:03:11
Re: Error 403: Forbidden? (3 replies, posted in Problem Solving / Help & Support)
Your PHP settings have been disabled by an H-Sphere administrator.
meaning you don't have php running on your server/hosting space.
Cutenews is written in php and needs php running for it to render..htaccess contains instructions that prevent public access to this file or directory.
starnge to see this along side to previous quoted message. Also check if the Cutenews ROOT dir (where you have show_news.php etc.) does not contain a .htaccess file (these files are usually hidden by ftp-clients and need to be enabled before you can see them)
31 2012-07-12 20:26:20
Re: lost my data (2 replies, posted in Problem Solving / Help & Support)
If it where just the news that was gone, i'dd say no.
It's known that large news files can be 'reset' by the host cause the filesize has become larger then the permitted filesize on the server.
The users also being gone...
Maybe it is a hacker.
Eventhough the new owners made 1.4.7 it still has some vulnarabilites that 1.4.6 allready had.
Also a vulnarability in the site itself could be possibility. It's more common than you think. Many people writetheir own navigation script. Often something like: index.php?page=home
the 'page' value is never validated or sanitized where a 'hacker' could change that to
index.php?page=/cutenews/data/users.db.php to download that file. then they'dd have your md5 encrypted passwords which nowadays can easily be decrypted by looking through rainbow tables. Then a hacker just needs to login and delete all.
Or the file upload hack is just as dangerous.
32 2012-07-09 10:37:14
Re: RSS feed doesn't work (4 replies, posted in Problem Solving / Help & Support)
It's definitely a html entity.
http://mrrena.blogspot.be/2009/07/entityre...-at-line-1.html
Maybe the CN urls are at fault? In CN 1.4.6 they where used as & and not like &
Not sure how it is now for 1.4.7.
You can try be editing the rss template.
33 2012-07-09 10:33:42
Re: htmlspecialchars() and preg_match() errors. (2 replies, posted in Problem Solving / Help & Support)
WARNING: preg_match() expects parameter 2 to be string, array given in /HOME/SKYBLADE/PUBLIC_HTML/RAPTURE/CUTENEWS/SHOW_NEWS.PHP on line 44
your line 44 doesn't have th function preg_match
So it's probably some lines around 44. This can be different depending on the editor (doesn't happen often but it can)Also please check if example2.php that came with the cn zip does work. if so, it's likely that some other php script on your page is causing trouble.
And then a code rewrite needs to be done.
34 2012-07-06 13:30:53
Re: RSS feed doesn't work (4 replies, posted in Problem Solving / Help & Support)
if i where to guess i'd say you have a html entity somwhere in your news that isn't properly ended
like
& in your article being &
browsers can mostly cope with this, but for an rss feed it is critical.
35 2012-07-03 14:17:46
Re: Show_news.php Issue (5 replies, posted in Problem Solving / Help & Support)
link isn't workign now either
36 2012-06-29 17:01:16
Re: Installing Cutenews - Time Zone Error (1 replies, posted in Problem Solving / Help & Support)
specially wrote it for you
https://cutephp.com/forum/index.php?showtop...st&p=154878
37 2012-06-29 17:00:30
Re: Common php Warnings and Errors (10 replies, posted in Problem Solving / Help & Support)
Error: Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
Reason: This kind of WARNING should never ever be shown by hosts.
I blame a bad server configuration.
Solution: report the warning to your host or follow below steps
Open shows_news.php index.php and show_archives.php
and add below <?php
date_default_timezone_set('America/Belem');
The bold part is your timezone identifier.
A full list of identifiers can bze found at http://www.php.net/manual/en/timezones.php however, not all will necessairly work on your host.
38 2012-06-11 14:21:35
Re: Access on server is denied (3 replies, posted in Problem Solving / Help & Support)
the exact reason has never been uncovered, but removing the .htaccess file from the data folder 'fixed' it for others.
Be warned that this isn't a definitive fix, as it makes your data files public and anyone can view them, making your CN vulnerable for hacking.
You should only remove the file when you need to update template files.
39 2012-06-09 14:17:06
Re: Shot latest comments (7 replies, posted in Script Feedback and Suggestion)
there's a hack for recent comments
40 2012-05-23 20:28:17
Re: page views is not working (10 replies, posted in Problem Solving / Help & Support)
<!-- KLEUREN
bordeaux: #810100
blauw: #446488
blok_nieuwsbrief: rij 30
blok_nieuwtjes: rij 167
!-->
<script TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../../js/menu_array.js"></SCRIPT>
<script TYPE="text/javascript" LANGUAGE="JavaScript" SRC="../../js/mmenu.js"></SCRIPT>
<link href="../../css/style1.css" rel="stylesheet" type="text/css" />
<body id="body">
<center>
<div id="hoofding">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>[img]../../images/folkinlimburg.png[/img]</td>
<td><div align="right">[img]../../images/dansers.png[/img]</div></td>
</tr>
</table>
</div>
<div id="hoofdmenu"></div>
<div id="kolom_nieuws1">
<div id="blok_nieuwtjes">
<h2>Nieuwtjes</h2>
how did you ever added this using the Control panel?
There's a reason why you can't do something like that using the control panel.
And why would you place it there rather then in your site?
Doing strange stuff like that is just asking for a site which html is invalid to a possible point of no repair.
41 2012-05-23 17:10:46
Re: page views is not working (10 replies, posted in Problem Solving / Help & Support)
oh boy, i so hope that's not your actual template file.
Anyway i've tried out your shows.inc.php in my installation with your template file.
And the page-view tag is being replaced. Try reuploading your files.
42 2012-05-23 15:04:23
Re: page views is not working (10 replies, posted in Problem Solving / Help & Support)
Oke, that does look like it's correct.
And you'e sure the tag is 100% correct? like the curly brakkets aren't saved as their html entities?
43 2012-05-22 19:23:21
Re: Have a question about "Add Facebook Comments to CuteNews" (8 replies, posted in Problem Solving / Help & Support)
It's the page where you use the cutenews include code, ie
i'm not sure how you think this would be default.tpl?
Open the file that has your CN include code.
Put it their right under the <body> tag of your site.
The <body> tag isn't even part of CuteNews, but is part of your site.
44 2012-05-22 13:39:29
Re: page views is not working (10 replies, posted in Problem Solving / Help & Support)
it's pretty safe to say
find:
CODE
$output = $template_active;
add under:
this part was forgotten
45 2012-05-22 13:36:13
Re: Have a question about "Add Facebook Comments to CuteNews" (8 replies, posted in Problem Solving / Help & Support)
it's what page i should add "<div id="fb-root"> </ div>" to?
It's the page where you use the cutenews include code, ie
CODE
$number = '5';
$template = 'something';
include('cutenews/show_news.php');sorry but the original answer seems quite clear to me.
the sacond part of the code goes in the template under the comments form part.
46 2012-05-22 10:10:57
Re: Logging in > Getting logged out. (3 replies, posted in Problem Solving / Help & Support)
such a problem often occurs when someone changes the foldername where CN is located.
Doing a logout directly after login in should solve that.
Another cause could be that there is a php error/warning. But that your host has opted to hide those messages.
This could result in your browser not writting a cookie to save your login session.
Checkign the server logs for any possible errors regarding CN files could point you in th right direction and is possibly fixable using this thread
https://cutephp.com/forum/index.php?showtopic=25853
47 2012-05-19 13:49:57
Re: Cannot comment. Gives me error (8 replies, posted in Problem Solving / Help & Support)
Cutenews uses the id parameter. You cannot use it with your own naviagtion scriot; You'll have to use another parameter name
48 2012-05-04 16:50:36
Re: Unable to login after duplicating cutenews (4 replies, posted in Problem Solving / Help & Support)
you could just upload a empty data/users.db.php
and upload the inc/install.inc file
that should trigger it.
49 2012-04-30 08:46:36
Re: Style issue (5 replies, posted in Problem Solving / Help & Support)
<?PHP
echo file_get_contents('news/show_archives.php?archive=1333876794&subaction=list-archive&');
?>any questions? smile.gif
yes. Why you think the original author bothered writting a readme.
Your code is all wrong.
And there are 2 good hacks to do the same as you're trying to do with that file_get_contents();NEVER EVER edit show_news.php or show_archives.php to include html.
50 2012-04-29 12:40:53
Re: Facebook Commenting (25 replies, posted in Problem Solving / Help & Support)
http://www.wantedfm.com/example1.php?subac...amp;ucat=1&
has multiple facebook comments
http://www.wantedfm.com/example1.php?subac...tart_from=&
has none...
Not sure why you claim
I put a comment on PAGE A then click on PAGE B the comment is also on page B... meaning if a site user comments on one article it appears on every article.
that would mean i'dd have to see comments on the second link as well, while i don't.
Posts found: 26 to 50 of 286
CutePHP Forums → Posts by FUNimations
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.