hi i have version 2.0.2 i am unable to delete a news item. To get around this problem I am relocating any news i cannot delete to a category i have named Not required at present. I get a message about cross scripting attempt or no response at all when i try to delete.

I have posted this problem before with no help being offered.

Issue 1. normally I think you would just upload and overwrite the old files with new version. I can't find any info to verify this and I'm reluctant to wipe out what I have by being careless..any advice
Issue 2. Can you restore news items that have been archive - only talking 3 items

Jim

I couldn't upgrade to 2.0.3 from 2.0.2. Pity as there is supposed to be an important security upgrade in 2.0.3. I had trouble upgrading from 1.4.6 I must have spent a week, waste of time. Support has not responded to my recent posts. You might have different issues to mine in the detail.  If you search the forum using my username you may have something to go on.

Hi

I am unable to delete a post. Cutenews displays a Confirm message and I click it and nothing happens.

Hi

I have a new website that I want to use CuteNews on. Unfortunately although I am using the most recent download of 2.0.3 I am getting: Parse error: syntax error, unexpected T_FUNCTION in E:\Domains\h\my website-1080363921\user\htdocs\cutenews.2.0.3\core\core.php on line 300

I can't find anything obvious at line 300. I dont get it surely this is not happening with other people who have downloaded this version.

UPDATE: I was using PHP 5.2 I have upgraded to PHP 5.6 and the install is now working https://cutephp.com/forum/style_emoticons/default/smile.gif The next problem my files are not writeable. I cannot alter the permissions since I am hosted on a Windows 2008 server.

I'll arrange to transfer hosting to Unix and try again.

I have upgraded to Linux. The problem with the files not being writable is not due to permissions but due to the fact that somehow I had not uploaded the cdata folder and the uploads folder.  https://cutephp.com/forum/style_emoticons/default/rolleyes.gif

UPDATE: I have had to revert back to to CuteNews 1.4.6 because there has been no response from support and other users to help. I still need to update another of my websites as it is too large even though there is less than 400 news articles.

No response from Support?

Hi

I have a new website that I want to use CuteNews on. Unfortunately although I am using the most recent download of 2.0.3 I am getting: Parse error: syntax error, unexpected T_FUNCTION in E:\Domains\h\my website-1080363921\user\htdocs\cutenews.2.0.3\core\core.php on line 300

I can't find anything obvious at line 300. I dont get it surely this is not happening with other people who have downloaded this version.

UPDATE: I was using PHP 5.2 I have upgraded to PHP 5.6 and the install is now working https://cutephp.com/forum/style_emoticons/default/smile.gif The next problem my files are not writeable. I cannot alter the permissions since I am hosted on a Windows 2008 server.

I'll arrange to transfer hosting to Unix and try again.

Update:  Please note that if I open a news article in the CKEditor and then save it using the Edit button without making any changes the article renders the HTML correctly.

My Home page has some CuteNews articles that I have managed to publish correctly by opening them in the CKEditor. However, pagination gets spoilt for some reason.  I will choose a different website page and ensure that I put any articles that are managed by CuteNews into the CKEditor. This should result in a fault free page.

UPDATE: I have had to revert back to to CuteNews 1.4.6 because there has been no response from support and other users to help. I still need to update another of my websites as it is too large even though there is less than 400 news articles.

Hi

I have successfully migrated from CuteNews 1.4.6 to 2.0.3 the trouble is all my news is now showing the HTML tags https://cutephp.com/forum/style_emoticons/default/sad.gif

Can anyone help with this issue as my website is now spoilt. my website

Update:  Please note that if I open a news article in the CKEditor and then save it using the Edit button without making any changes the article renders the HTML correctly.

My Home page has some CuteNews articles that I have managed to publish correctly by opening them in the CKEditor. However, pagination gets spoilt for some reason.  I will choose a different website page and ensure that I put any articles that are managed by CuteNews into the CKEditor. This should result in a fault free page.

Hi

I have successfully migrated from CuteNews 1.4.6 to 2.0.3 the trouble is all my news is now showing the HTML tags https://cutephp.com/forum/style_emoticons/default/sad.gif

Can anyone help with this issue as my website is now spoilt. my website

There shouldn't be any problems with upgrading from 1.4.6 to 2.0.3. Please use migration for this purpose.

Thank you.

I have managed to upgrade from 1.4.6 to 2.0.3 the trouble is that all my news is displayed in source code now. That is to say that the HTML tags are being included with the news.

Hi

I would prefer if possible to update my CuteNews 1.4.6 installation to 2.0.3  can this be done or do I have to update 1.4.6 to 2.0.2 first?

Thanks

Geoff

You can try using the following code. It needs to be embedded at the end of the core/ckeditor/styles.js file.

(function() {
    /**
     * Check for a paste event and replace <p> </p> with blank
     */

    CKEDITOR.on('instanceReady', function( e ) {
        e.editor.on('paste', function(ev) {

            ev.data.dataValue = ev.data.dataValue.replace(/<p[^>]*><br\s*\/?><\/p>/ig,'');
            ev.data.dataValue = ev.data.dataValue.replace(/<p[^>]*> <\/p>/ig,'');

        }, null, null, 9);
    });

    CKEDITOR.plugins.add('ckeditor_paragraph_paste_fix', {
    });
})();

Thanks very much Support it works https://cutephp.com/forum/style_emoticons/default/biggrin.gif

Hi

A problem raised by a forum user may be solved, either by other forum users or by Support. The trouble is if Support solves an issue it is polite and might be useful for the OP to reply in which case the issue may seem to be still unresolved. The same issue applies to a forum user who provides a solution.

Perhaps a special graphic could be selected by the OP or Support to indicate to forum users that the issue is resolved. There are IP Board graphic items but no post solved item, and at present IP Board graphic items don't seem to be used. I thought I could use an emoticon "?" and then remove it when the problem had been solved but I can't change the emoticon.

Regards

Geoff



To create and center an image, kindly follow the steps:

1. Create and open a news item in CKEditor.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626404.png

2. Click Insert Image and in the opened window click the Browse Server button.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626545.png

3. Upload an image (or choose an existing one).

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626562.png

4. Click on the title of the image.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626578.png

5. When the image will appear in the popup window, click on the lock symbol (optionally).

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626593.png

6. You will see the image size parameters (300 pixels in width and the height of the image set by default). Click OK.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626605.png

7. Click on Source.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626619.png

8. Instead of the <p> tag, enveloping <img>, enter <center>, add or save the news.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626630.png

9. You get the result.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626643.png

To insert from Word try the following steps:

10. Go to Dashboard> System configurations.

https://cutephp.com/forum/uploads/monthly_04_2015/post-74486-1429626660.png

In Row 1, add  ",PasteFromWord" after PasteText " to get the following:

Source,Maximize,Scayt,PasteText,PasteFromWord,Undo,Redo,Find,Replace,-,SelectAll,RemoveFormat,NumberedList,BulletedList,Outdent,Indent

After that, use the button with this icon. Simple copying / pasting in CKEDitor may not help.
We also need to mention that the plugin is the official one from the developers of CKEditor and we are not responsible for the way the information will be displayed by CKEditor and its plug-ins.

As to the search, please provide a link to the post or write here how you work with the search, for us to understand the process better.

IMAGE UPLOAD: Thank you Support. Unfortunately, your advice doesn't work using a Windows XP Pro computer. I can use another computer though. It works on Vista and I presume 7+.

SEARCH: I resolved the Search problem and reported how I did it in another post.
WORD: The issue with documents created with Microsoft Word is that there are unwanted blank lines. I did install PastFromWord but it didn't seem to make any difference. There is a solution provided by  Albert Jankowski. (Drupal user: Albertski) I have published that solution on this forum Post#7 on Apr 14 2015.  But I need advice as to how to add the plugin to the CKeditor.

When did you stop receiving emails? Did you have any problems receiving it before.
If you didn't, than you should probably need to check your email filters - the problem might be in them.
You can also try switching the option of sending emails to 'immediate' in My Controls, Subscriptions.

Thank you.

I have not received email notifications since 13/11/2014.  I do have the Immediate Notification option selected.
I use Outlook and regularly check my Junk Email folder.

Hi

I understand that if I get an out of memory message in Cutenews 1.4.6 I either need to send news to an archive or if my host won't allow more memory upgrade the site to a more recent version.

What puzzles me is I only have 316 articles and news.txt is 2,613,479  is that large for CuteNews? The site has many embedded videos and photos but surely they are outside of the memory requirements of CuteNews?

Can someone please advise me on this issue.

I am still not receiving email notifications

To activate the highlight of the results, it is necessary to enable the Highlight search option in Dashboard> System configurations.
After that, an additional parameter & qhl = (your search) will be added for the SERPs, which will highlight areas in the news when you click on them.

Thanks found the Highlight option its right at the top of the System configurations window  https://cutephp.com/forum/style_emoticons/default/rolleyes.gif But tried a few searches and the word searched for is not highlighted, well it is if I use Ctrl +F.

I have the plugin installed now and CKEDitor is still adding blank lines. Perhaps there are some settings that need to be added to the plugin.

There is an issue with CKeditor and it has been discussed over the last three years. CKeditor adds

<p> </p>

to copied and pasted text from Microsft Word and other word processors. Mention has been made on Stack Exchange, Drupal and Wordpress. Albertski has published a plugin. Code below:

/**
 * @file
 * Written by Albert Jankowski - https://www.drupal.org/user/1327432
 */

(function() {
  /**
   * Check for a paste event and replace <p> </p> with blank
   */
  CKEDITOR.on('instanceReady', function(e) {
    e.editor.on('paste', function(ev) {
      // Replaces <p> </p> with ''
      ev.data.dataValue = ev.data.dataValue.replace(/ /g,'');
      // Replaces <p>
</p> with ''
       ev.data.dataValue = ev.data.dataValue.replace(/<p>
<\/p>/g,'');
    }, null, null, 9);
  });

  CKEDITOR.plugins.add('ckeditor_paragraph_paste_fix', {
  });
})();

I don't know how to add this plugin to CKeditor perhaps someone who knows how to can post instructions. Please note that even though the code is placed within code tags the non breaking space character might be missing in both code blocks above.  The Google search details are "CKeditor Paragraph Paste Fix".

PLEASE NOTE: THAT THE &NBSP; CHARACTER MIGHT BE MISSING IN THE CODE BLOCKS ABOVE. I AM USING FIREFOX AND A "BR" INSTEAD OF THE NON-BREAKING CHARACTER IS ADDED TO THE CODE BUT IS NOT SHOWN IN THE COMMENT!  The string that is added to posts is <p> </p> The CutePHP forum software should not alter code that is pasted into code tags but that is happening to my post.

Update and rechecking the code which I pasted. what the plugin does is find and replace any instances of : <p> </p> with ' '  (two apostrophes). Also, it finds and replaces <p>br</p> with two apostrophes.

Thanks Perry

There is already a solution at least for getting rid of the new lines that are created. Unfortunately, I am having trouble with getting it work. See new line post

I am aware of the plugin but I want to get familiar with the new version of Cutenews before I look at plugins.

I have found that under System Configurations there is a tab for CKeditor. The possible settings can be reviewed here CKeditor 3.x/Developers

I have added the additional option to the CKeditor: PasteFromWord  but it doesn't make any difference to what would have been achieved by using Control +V. I think that the addon must be installed all the button does is provide the option to use the features available in the addon.

I'll try the plugin/addon referred to by Perry after I have completed my current website.

I have the plugin installed now and CKEDitor is still adding blank lines. Perhaps there are some settings that need to be added to the plugin.

Hi

I have found that there is a variable $qh1  listed under Dashboard-Misc Links-Usage-Other-Section 5.1-Other. How is it used to highlight search results?

22

(2 replies, posted in Problem Solving / Help & Support)

I still need help with this issue.  https://cutephp.com/forum/style_emoticons/default/sad.gif I have updated the post and included a link to the modified Home page so that the Search box can be tested. Using ECHO statements the results of the search do get to the show news include.

I have now resolved this issue. Cutenews wasn't allowing me to use:

include ("cutenews/search.php"); include ("cutenews/show_news.php");

1. It was wrongly stopping the search with a message that I was using the full path. The message suggests if I disagree that I could remove at my own risk: check_direct_including() function. This is in search.php. line 8. I just commented it out.

2. I had to put before the head of my Home page where  the search input box is located:

<?php

require_once("cutenews/core/init.php")
and other lines probably not relevant copied from the Example file;



23

(2 replies, posted in Problem Solving / Help & Support)

I still need help with this issue.  https://cutephp.com/forum/style_emoticons/default/sad.gif I have updated the post and included a link to the modified Home page so that the Search box can be tested. Using ECHO statements the results of the search do get to the show news include.

Hi all,

I know a site which is using Cutenews and currently has about 8000 stories controlled by Cutenews and growing.

Is there a point at which Cutenews can become unstable?

Whats the max records people have used Cutenews with?

Kind regards

I think you are a mistaken or misinformed.  I think you are mistaken. My installation crashes with only 311 posts.

I have 1.4.6 and no archiving and only 350 articles and an out of memory problem. I have been advised to upgrade to 2.0.2 but have not managed to do this yet.

I have not managed to upgrade from 1.4.6 because the instructions do not work. But for the site that I have 2.0.2 installed the Search option does not work and there is no properly written English user documentation for 2.0.2 which would help to get the installation working. But, worse than that there is no guide to how to use the many options available. This is so short sighted.

My 1.4.6 installation has only 311 posts and no comments whether images add to memory is a moot point. the bulk of the posts involve articles that have on average six pages copied from MS Word.  These being Minutes of council meetings.

I simple do not believe that Cutenews can have several thousand posts as the OP reports.

My news.txt is 26,034,771 bytes size. There is no archive in place. The 1.4.6 documentation does not suggest archives would be necessary until the news.txt file is over 3,000 articles in size. PHP memory size is 64M so why does my site fail?

It is a shame that my website is too big when CuteNews owners declare otherwise. the website is a local government website and unless Cutenews' owner sort this issue they will lose that potential custom: there are over 10,000 such councils and many have crap websites depending on PDF file links rather than proper web pages. Sooner or later the government will step in and insist on accessible websites many of the existing website will fail.

A few years ago the response from the CuteNews forum to queries was well supported by users and Support, not any longer, even simple queries are not being answered or if lucky within a week or so.

I have no experience of other CMS but I do find that I can place news anywhere I choose on web pages, created by me using Cutenews. It is up to the owners of CuteNews to support their product according to their claims. They claim it is easy.  I think it is easy, is it?