Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Murdoch

    (@murdoch)

    Update. I seem now to have got this sorted and the comment following is made in case it’s helpful for others in a similar situation.

    The problems appeared to be with the entries for the DB and for the user. Using PHPMyAdmin I confirmed that the DB name autofilled in the relevant Duplicator table which appeared when running Installer to paste the site in its new location was indeed one of the tables present. It seemed logical, therefore, that that name be used.

    Checking further I confirmed that my own user name appeared in the relevant tables and because I knew the password to that it appeared logical here to use that user name and password. I confirmed, also, that my user had adequate privileges and was indeed linked to the DB.

    None of that mettered, it seemed, in practice. If I tried to clear the DB I was told I didn’t have relevant privileges. If I tried to delete the DB and create a new one I was told I didn’t have Create privileges.

    I believe, although not certain of this, the whole process having got some what confused, that at some point I was told the pasword was wrong.

    Guessing that the DB referred to was a DB in the new site intended to hold the relevant data it seemed irrelevant what the name was and I therefore exerpimented with simple new names. Yet again, the issue of privileges arose despite PHPMyAdmin confirming both that I had the relevant privileges and that I was linked as a user to the DB I had just created through PHPMyAdmin for the new site.

    This was becoming intensely frustrating but in the end the solution was simple – ignore the DB name and enter “root” as the user.

    It seems that my surmise the the DB name was irrelevant was correct. As for “root” I chose that as it was shown as having all privileges, connected all over the place and having no password; others that met similar criteria did have passwords and as I would have no way of finding these out that rendered them unsuitable.

    So there it is – simple solution. And now that that approach has been winkled out the plugin seems to perform flawlessly being rapid and complete in its action and so thoroughly to be recommended, albeit with the small caveat that a comment in the general documentation along the lines of what I’ve written immediately above would have been very helpful.

    M

    Thread Starter Murdoch

    (@murdoch)

    OK – I’ll check there. Thanks. M

    Thread Starter Murdoch

    (@murdoch)

    No, not trying to use SSL.

    Thread Starter Murdoch

    (@murdoch)

    Thanks, everyone. Curiously, it happened that there was an earlier reply posted maybe ten days ago (referring to ensuring SSL was implemented and giving some relevant links) but when I came to respond to that both my reply and that earlier post vanished and as I didn’t have the relevant details I couldn’t easily respond for a second time.

    songdogtech: thanks for that suggestion. Unfortunately, however, its effect is to prevent any update access at all and to give at that point an error message very similar to the ones I mentioned earlier as getting after the update had been effected (and see below). Subsequently commenting out the new line inserted in wp-config (which I copied and pasted from your post) allowed access once more.

    The pre-access error and the post-access errors each reference line 525 in plugin.php as “call_user_func_array:{J:\WebDev\tangodorset.dev\wp-includes\plugin.php:525} ( )” In that files lines 522-530 read as:

    do {
    foreach ( (array) current($wp_filter[$tag]) as $the_ )
    if ( !is_null($the_[‘function’]) )
    call_user_func_array($the_[‘function’], array_slice($args, 0, (int) $the_[‘accepted_args’]));

    } while ( next($wp_filter[$tag]) !== false );

    array_pop($wp_current_filter);
    }

    Kathryn: Thanks also. In fact I did earlier remove all plugins in case of a conflict. I can’t now recollect the exact details but my recollection is that whenever I attempted to install any plugin I got the same problem. I haven’t checked further right now but I’m quite happy to again do so if my latest comments above don’t help to throw any light on things.

    Adeline: Thanks also. No, I don’t think it’s theme related. In fact I’ve moved to using the Divi theme and I get exactly the same problems. I’m pretty sure also that use one of the default WP themes, 2016 I think, the same happened.

    In fact, whatever the error is it doesn’t seem to cause practical problems, at least none I’m aware of. That is, plugins install or update as they should and everything appears to continue working. I’d like to solve it, though, as clearly having such error messages isn’t as it should be.

    I’d say we’ve pretty much exhausted this – thanks for your comments – but let me make a couple of points on your post.

    You write “WordPress does not run on your computer.” Well, actually, it does. I can run WordPress, as I can any other application including browsers, on a system here without internet or other network connectivity.

    The whole point of local web development is to trial and test a site in private before going live and public. And no, I’m not “merely simulating another computer” except in the specialised sense of using a test machine to develop and evaluate how something will look and behave on a final deployed site – and that’s absolutely identical in concept to any application development process.

    And there I come back to the initial point. If I use, say, C++ for that development I use a single copy to work on half a dozen different apps. If the development is web based then I might use Dreamweaver, say, and in that case I would again use a single copy to work on maybe half a dozen different site developments, straight out of the box. Indeed, if I chose to code the relevant markup languages by hand I’d again use a single copy of an appropriate text processor, just as I would a single copy of a relevant DBMS to manage the half dozen or so databases I might use. And so on.

    Only in the case of WordPress, it seems, is the default approach that of requiring multiple copies to be installed, one for each discrete development. AIUI your own product facilitates what I argue is the proper approach so far as separating engines and data is concerned so it’s clearly quite possible (well, obviously it is, irrespective of that evidence!). Given WordPress’s undoubted competence, power and elegance this seems to me a quite bizarre design approach.

    Actually, that’s really my point, Steve, namely that WordPress is the program, the engine. Sure, Word can’t ordinarily display a document on a remote computer but it has no difficulty preparing a document stored elsewhere than where it’s located whether that’s in a different directory or even on a different LAN or WAN system. So can Dreamweaver, for instance, the display then being handled by an appropriate program such as Firefox used locally and duly calling (conceptually just as does Word where appropriate) on relevant data such as words, images or MUL instructions.

    You rightly point out that WordPress manages many pages comprising a given site – why then does it not also have the capability of managing many different sites from one instance running on whatever computer system is being used by the developer? The relatively trivial issue of hierarchy aside that seems to me conceptually no different. I would (if I used it) have only one instance of Dreamweaver but also only one instance of Firefox and thereby be enabled both to develop and, of course, to view many different and discrete web sites and pages.

    I accept that that’s just how it is but I’m quite surprised, hence the comments. I guess this really derives from the, to me, vital importance for all sorts of reasons of not mixing up data with utilities to manage that data (programs, apps, plugins, whatever) and unless I’m missing something here WordPress, for all its undoubted capabilities and strengths, seems oddly to be violating that important rule. Thanks, anyway, for the helpful comments.

    I did earlier see the ServerPress.com reference and noted it for later but hadn’t looked. I’ve now checked out your DesktopServer link and I’ll look into that more thoroughly when I can make some time shortly – however, as you say, it looks very appropriate and as the impression I got from reading the page was that it was all well thought out and described I’m sure I’ll make use of it. (Just reread that – I’m absolutely not being patronising, just stating what seemed to me important, believe me!) Thanks for that.

    Picking up on esmi’s point – thanks – I’m surprised to learn of that and it seems an odd approach. After all, if one were developing web pages using Komposer or Dreamweaver or whatever then one would use a single program installation however many target sites were being managed. I’m curious as to why WordPress doesn’t natively take a similar approach (style and relevant content files clearly may be specific to individual sites but as those are data that doesn’t vitiate the sound arguments for separating the two and having a single engine to do the overall work). Intriguing!

    Yes. Exactly that. I (and perhaps from his post also jamiedefined) want to be able to develop entirely discrete and separate local versions of web sites (prior to publishing them online).

    The reference to word processing was intended merely as an analogy, and almost any typical program would have done. For instance, and for reasons of obvious efficiency, were I to develop three or four entirely different applications using C++, say, I would use a single copy of the development environment and UI (and DBMS if appropriate) to develop each application in its own space, none of which spaces would interact with any other development space. In like manner I’m seeking to use just the one copy of WordPress (and, indeed, MySQL) to develop and manage several discrete local web sites.

    MM

    Forgive my tagging on to your thread, jamiedefined, but I’m seeking to solve exactly the same problem so I hope anything I ask or say will also be helpful for you.

    The sawmap.com link was very helpful, thanks, and I now have three distinct sites under the local parent directory G:\WebDev\ each of which can consistently be accessed using Firefox 8.0 or MSI 6.0. (To test, I simply used three separate, random but vaguely relevant, web pages and saved them as index.htm in each of the three subdirectories.)

    However, what I’m not clear about yet is how I use a single WordPress 3.2 installation (at G:\WebDev\xampp\htdocs\wordpress) and a single copy of MYSQL to manage these three (or more) entirely separate installations. I presume that in the case of the DBMS it would be best to set up a separate database for each local web site and although that’s straightforward enough to do I can’t see anything on the WordPress main dashboard that allows switching sites or switching DBs.

    Rooting around I’ve come across the WP Multisite mapping tutorial but that seems to be a case of handling internet-based subdomains rather than what I need. In the plugin directory, under the tag multisite, there’s some possible plugins such as the Networks for WP and the WP Multisite Dashboard widget although again these seem peripheral, if I understand their use correctly.

    Essentially all I’m trying to do is the equivalent of opening a word processor and using it to create or edit a range of disparate and entirely unconnected documents.

    I imagine I’m just missing something obvious and simple but any pointers or other help would be much appreciated.

    MM

    Thread Starter Murdoch

    (@murdoch)

    Thanks for the information and links, which were very helpful. Apologies for being slow in replying but I’ve been absurdly busy and was hoping to complete matters before commenting further. That’s clearly now not going to happen for some time.

    FWIW, WordPress MU seems to me inappropriate and possibly even unsuitable for what I want, namely using the same basic code/installation for a few different blogs. It may well be different for larger installations.

    Secondly, perhaps the most useful link I found from following through and beyond those you posted was from at http://tinyurl.com/32657b (Striderweb) which goes into the process simply and well, properly influenced by Ockham’s approach to complexity. It’s the basis of the approach I’ll use when things calm down and I get time to do it. Thanks again.

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