CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [FAQ] It says: "Cannot find article with id: NUMBER"!
Rating 3 V
StealthEye
post Jul 7 2004, 01:26 PM
Post #1


Cute Hack Master
***

Group: Support
Posts: 1,739
Joined: 2-July 04
From: The Netherlands
Member No.: 4



  1. Or you use the id parameter for your sites navigation. In that case
    Easy fix: replace the $id variables in your page with $page, and change your links from ?id=... to ?page=... smile.gif
  2. Another thing that might be causing this: Another script is useing the $id variable. Especially polls oftenly use $id. The easiest solution is to switch to another script.

    A solution that might work
    CODE
    if( isset($_GET['subaction'] ) )
    $id= $_GET['id'];
    include(show_news.php);


    A little harder is to replace $id in all files of the script. You may replace all occurences of $id with $fixed_id or something. be sure to change all occurences of
    ['id']
    and
    ["id"]
    to
    ['fixed_id']
    ["fixed_id"]
    Note that you should ony do this for one script.
    If you still get the error, post it at the forums, be sure that you include the actual number and your site in the post.




--------------------
QUOTE(zumbuluk)
go to the Cutenews IRC. There is an elder man there, of grey hair and infinite wisdom, the one the call Stealtheye. Go, and tell him that Zumbu sent you, and that it is time once again for his spirit to roam free and solve other people's problems.......


To get help:
1. Read the readme.
2. Read the FAQ forum and blake2050's FAQ
3. If you're trying to find a hack/addon, be sure to look at some of my hacks, the official addons and WillyPS' CuteNews page
4. Search around at the forums for older solved topics relating to your problem. If you find anything and still can't fix it. At least give this topic as a reference in the new post you may place.
5. Post at these forums, or visit the CuteNews IRC Channel. If you're posting here, make sure your topic includes enough information, and is as easy and short as possible. Confusing or long stories will oftenly get skipped.
6. Wait patiently for a reply. Don't start PM'ing everyone and bumping after 10 minutes...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 22nd May 2013 - 04:31 PM