Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter arctork

    (@arctork)

    Thanks … Is that consistent with it only not working on certain categories. If I click other categories it works … but there are 3 specific categories where I get that error?

    Thread Starter arctork

    (@arctork)

    As it turns out … what you suggested helped me … instead of adjusting the function I adjusted the placement of the file … and I guess it was looking in the base blog directory.

    Thanks

    Thread Starter arctork

    (@arctork)

    I’ll give it a try but I don’t think it’ll work because the file that has the problems is the file that is loaded by niftycube.js sort of on the fly … by the following function … – niftycorners.css

    function AddCss(){
    niftyCss=true;
    var l=CreateEl(“link”);
    l.setAttribute(“type”,”text/css”);
    l.setAttribute(“rel”,”stylesheet”);
    l.setAttribute(“href”,”niftyCorners.css”);
    l.setAttribute(“media”,”screen”);
    document.getElementsByTagName(“head”)[0].appendChild(l);
    }

    firefox can find and I can view the niftycube.js file fine. but when I go and try and view the niftycorners.css file it just tells me that it can’t be found. Though when I try it outside of wordpress everything works fine. So I think I have to adjust the setAttribute(“href”,”niftyCorners.css”) line somehow … though I’m not quite sure …

    Thread Starter arctork

    (@arctork)

    No I already use that. I need to display in a different section of the page a link to a specific page … not all of them unfortunately …

    Thread Starter arctork

    (@arctork)

    I managed to get that custom page up and running but now I am attempting a second custom page and its not working …

    I have created a blank template page with the template name at the top of that page commented out … and then I have gone to write a page and selected the appropriate template but I want this page to have content Eg: there is going to be a list of contributors and paragraphs about them here. But I am not sure if I should be putting the content in the content box when creating the page in wordpress and then if that’s the case I am not sure how to display the content or link to that content on that page?

    ????

    Thread Starter arctork

    (@arctork)

    I think I see now … I was trying to create it purely programatically … But you esentially create a page through wordpress (the cms part), which in my case was completely blank to start, and then specify what template (which I create) that page uses, by again using wordpress (the cms part).

    Thanks for the help! With any luck I got it …

    Thread Starter arctork

    (@arctork)

    Oh … thanks for clearing that up … In that case I can’t seem to find sufficient documentation to help me create such a page … Do you know where I could find some help on this matter … or maybe do you have any suggestions on how I should go about creating this custom page?

    Thanks

    Forum: Plugins
    In reply to: BAstats Error

    I have been trying to get bastats to work but I guess the author has stopped supporting it. If you send him a nice email he may answer but I personally have been using stattraq which is a very good stat tracking plugin as well.

    I recommend everyone give it a try.

    Forum: Plugins
    In reply to: BAstats Error

    I was checking the documentation
    http://ca3.php.net/manual/en/function.in-array.php

    in_array() returns true if the specified sample is found in a specified array.

    It sounds like what the error is saying is that the get_settings() function didn’t return an array for either get_settings(‘bas_options’); or
    get_settings(‘bas_settings’); …. or maybe we need to make it

    in_array(‘log_spam’, $options, true)

    Unfortunately I don’t have the time right now to finish off debugging it but just thought I would post what little info I had … just incase … might be able to get back to it later … or if someone beats me to it … it would be nice if they posted a fix …

    Thanks

    Forum: Plugins
    In reply to: BAstats Error

    I took a look at file corruption but that doesn’t seem to be it. If I open the file … everything seems normal … and it does actually track stats just it won’t graph anything and it puts this error at the top of the page.

    Warning: in_array(): Wrong datatype for second argument in /home/easyv7/www/easy-visa-usa.com/wp-content/plugins/BAStats_logger.php on line 114

    The lines of code in question are the following …
    $options = get_settings(‘bas_options’);
    $settings = get_settings(‘bas_settings’);
    if(in_array(‘log_spam’, $options) && in_array(‘referer_spam’, $settings))
    {

    }

    I’ve also tried deactivating all other plugins and going back to the original theme but none of that was successful.

    anything else I could try …

    Thanks

    Forum: Plugins
    In reply to: BAstats Error

    Thanks … I’ll give that a try …

    Forum: Plugins
    In reply to: BAstats Error

    Hi,

    I am having exactly the same error and I guess the author of the plugin doesn’t answer his email and when I tried to question the author of the above post after going to his blog and then finding his contact details – he just said that I had the wrong person.

    I would really appreaciate some help. – I am running 1.5.2 and the error only shows up in firefox to my knowledge …

    Thank you … anything appreciated.

    Forum: Installing WordPress
    In reply to: Theme Problems
    Thread Starter arctork

    (@arctork)

    man I’m such an idiot … I have old installations on the server and I was accidentally putting them in the wrong folder …

    Appreciate the help …thanks.

Viewing 13 replies - 1 through 13 (of 13 total)