Forum Replies Created

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

    (@ciuly)

    Thanks for that link.

    I installed the wo-control plugin. It doesn’t complain of anything. It does however list the schedules with next run in the past, like:
    “2013-06-28 18:22:19 (now)”

    I did the “new post scheduled in 5 minutes” test Andrew suggested, nothing changed. The schedule appeared in the list with the correct time, in the past (by the time I checked it) and in dashboard doesn’t say anything about “missed schedule”. If I refresh the post page it just says that it’s scheduled for that particular past time.

    I also checked apache logs, no errors.

    There are however loopback calls, like this one:
    127.0.0.1 – – [08/Mar/2014:11:18:00 +0200] “OPTIONS * HTTP/1.0” 200 – “-” “Apache (internal dummy connection)”

    This one is the latest and it’s form this morning. I would have expected a similar one to be logged few minutes ago, with the scheduled post test, but there isn’t one.

    I hope Andrew (or anyone equally knowledgeable) get’s to read this and give me some more things to check/test/debug.

    @andrew
    would you please peek at my similar issue here; http://ww.wp.xz.cn/support/topic/automatic-background-updates-cant-them-them-to-work

    I’d like to attempt to find the root cause and fix that instead of using alternate wp cron.

    this is running on my personal server so I have full control over things.

    Thread Starter ciuly

    (@ciuly)

    is there really nothing else I can do to get this feature debugged?

    Thread Starter ciuly

    (@ciuly)

    Already did. nothing interesting
    yesterdays error log:

    [Sat Feb 01 10:07:08 2014] [error] [client 61.224.65.34] request failed: error reading the headers
    [Sat Feb 01 13:54:14 2014] [error] [client 68.68.162.133] script not found or unable to stat: /www/cgi-bin/php
    [Sat Feb 01 13:54:15 2014] [error] [client 68.68.162.133] script not found or unable to stat: /www/cgi-bin/php5
    [Sat Feb 01 13:54:15 2014] [error] [client 68.68.162.133] script not found or unable to stat: /www/cgi-bin/php-cgi
    [Sat Feb 01 13:54:16 2014] [error] [client 68.68.162.133] script not found or unable to stat: /www/cgi-bin/php.cgi
    [Sat Feb 01 13:54:16 2014] [error] [client 68.68.162.133] script not found or unable to stat: /www/cgi-bin/php4
    [Sat Feb 01 14:51:41 2014] [error] [client 162.213.27.198] script not found or unable to stat: /www/cgi-bin/php
    [Sat Feb 01 17:02:49 2014] [error] [client 92.152.151.7] request failed: error reading the headers

    todays error log
    [Sun Feb 02 05:47:25 2014] [error] [client 67.23.243.30] Invalid URI in request POST 1.1

    Thread Starter ciuly

    (@ciuly)

    I am not a native-english speaker either, but at least if I want to communicate in english I do my best to know and understand the language. Otherwise I will risk my message to be miss-interpreted and miss-understood.
    Even if you use google translate to get your message quickly into english, you should have the minimum knowledge of the language to crrect any flaws. And if not, always mark your messages as “translated from french”. Other people do it and so they eliminate such discussions.
    It is not the fault of the otehr part that they do not understand what you actually are trying to communicate, it is your fault that you don’t invest sufficient resources to learn the language properly or correct the translations or notify your readers that you are translating your messages.

    In conclusion, I will delete your plugin, give a proper review and feedback on it and find something else. Instead of answering my problem which I made clear in my second post, you waste my time with stupid things.

    Way to go frenchie.

    Thread Starter ciuly

    (@ciuly)

    I’m sorry, but there is a reason why language is “universal”. So that we can understand each other.
    google “define:compatible”. It says:
    “(of two things) able to exist or occur together without problems or conflict.”

    So, is this plugin compatible (according to universal concept) with the StatPress plugin or not? Will they work nicely together, without problems, or not?
    The current code, as-is, is not compatible, because there is this one obvious error. Having it fixed, will the fixed plugin be compatible with StatPress or not? (code-wise, apparently at least, it will. Data-wise is unknown for me)

    If it is, then you can check with StatPress authors and see if you guys can find a general way of “sharing” code (using include_once/require_once or function_exists or what not)

    Thread Starter ciuly

    (@ciuly)

    Your plugin description states that it is compatible with StatPress. The fact that it cannot be activated because of this error proves otherwise.

    So either eliminate the compatibility statement, or fix it as you see fit.
    I don’t claim my suggestion is the best course of action as I don’t have knowledge on either of the plugins, but if the plugins are not compatible, I’d like to know now, as then I’d have to remove StatPressV before it corrupts my StatPress data. And I really don’t have time these days to go through the code to figure it out, I have a milestone due this weekend for some project.

    Thanks.

    Thread Starter ciuly

    (@ciuly)

    The “need” part is because of administering time and effort. It’s one thing to keep one software uptodate and secure ad it’s anotehr thing to do that for 5 or 6, that have different architectures and so on.
    My needs are simple and can be resumed in one generic need:
    – have a way to publish content organized in categories and be able to control access per user/group for an image/category

    I don’t need over 80% of features provided by photo galleries (and I tried 2 or 2). Same goes for a forum/blog/etc.
    I don’t have time to spend on organizing content, making it look nice and pretty and SEO and shit, dealing with each content entry separately, titles, comments and what not. Beside the blog and article and such where I’ll post something but in the same manner of “the message is important, not how it’s presented”.

    Every hour spent in administering the software, dealing with it’s quirks, not being able to use the same userbase and roles and so on, is time NOT spent with my family OR creating that content I want to publish in my own manner.

    I NEED to spend as little time as possible on the administration and management of the software.
    I know dedicated software is better. But I don’t have time for better. Not to mention the extra “bloat” they bring in.

    I tested quite a few CMSs but they all have a lot of limitations that make it very hard for me to use as one-for-all.
    Now, that article I read presented WP as a CMS that publishes content. Not blog posts but content. I like that. But I’m not sure if it’s as easy as the article presented. I really can’t waste another year with this testing and trying to make it work. That’s why I ask: can it be done in a relatively short period? 1-2 months. Are there any live examples that come close to what I want?

    update: the following seems to have solved the posting problem but there are still things that don’t work right (plugins and themes to name a couple)

    <LocationMatch "/wp-admin/post.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>
    
    <LocationMatch "/wp-admin/admin-ajax.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>
    
    <LocationMatch "/wp-admin/page.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>
    
    <LocationMatch "/wp-admin/options.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>
    
    <LocationMatch "/wp-admin/theme-editor.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>
    
    <LocationMatch "/wp-includes/">
      SecRuleRemoveById 960010 960012 950006
      SecRuleRemoveById phpids-17
      SecRuleRemoveById phpids-20
      SecRuleRemoveById phpids-21
      SecRuleRemoveById phpids-30
      SecRuleRemoveById phpids-61
    </LocationMatch>

    I am now removing mod_security since I a running about 13 sites on my server and all of them run different scripts so this will literally take me months to get things strait for every site and script, time that I don’t have.

    you need to “Include conf/path/to/whitelist.conf” in your modsecurity.conf file.
    the IDs represent the IDs of the rules. as a side note, I am a new user of modesecurity(MS) and from what I see in my modsec_audit.log none of those IDs appear there. though I did see some phpids-30 and -60 and such there.

    on other note, this is not working on WP 2.8.5 and MS 2.5.10 with core ruleset 2.0.2
    I am getting 403 forbidden when trying to post from admin panel. this really sucks if you ask me.

    I got my whitelist.conf file to look like this:

    <LocationMatch "/wp-admin/post.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
    </LocationMatch>
    
    <LocationMatch "/wp-admin/admin-ajax.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
    </LocationMatch>
    
    <LocationMatch "/wp-admin/page.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
    </LocationMatch>
    
    <LocationMatch "/wp-admin/options.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
    </LocationMatch>
    
    <LocationMatch "/wp-admin/theme-editor.php">
      SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904
    </LocationMatch>
    
    <LocationMatch "/wp-includes/">
      SecRuleRemoveById 960010 960012 950006
    </LocationMatch>

    I am inlcuding the whitelist.conf from the end of the MS conf. not sure if that’s right or if the IDs have changed.

    Thread Starter ciuly

    (@ciuly)

    update: the double http://site was actually my bad configuration as I netered the site address in the permalink.

    I tried suggested information but nothing worked.
    I then clicked on try the browser uploader instead and that worked. so this appears to be a bug in the flash uploader.

    Thread Starter ciuly

    (@ciuly)

    minor correction: here is another field different:
    – post_parent (it’s 0 for 1st entry and $id for the rest)

    so it appears the behaviour is normal. but why woul dit save the entire post content (and title) if they don’t change? isn’t that a storage bug?

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