To allow me to keep my wiki on line while upgrading, uploading files and so forth ... I had "proven" a scheme where I would create a new directory say "b-w" where I would make sure I had all the files, like the images and so forth. When ready to upgrade, I would put a "Maintenance" version of index.php in the actual directory, then do the install/upgrade scripts in the new directory, make sure everything was working, then, rename off the old site, rename in the new site and off we go ... minimum down time.
With version 1.5, it is MUCH more insistent that it be installed in the target directory with no if, ands or buts. even when the configuration file SHOULD only need the one variable with the path name changed, this does not seem to properly take effect. Restarting apache does not seem to change things, nor does dumping the cache.
Renaming the directory back to the new "bad" name resurrects all pages.
I am not using, or at least I did not intend to use server side caching as I do not have direct access to the servers I use to host the Wiki (not all of us can afford that).
So, I only have upload to hosting dirs with FTP, and access to the database via phpMyAdmin. To this point I have no access to run local php maintenance files, though that is another issue for another day ...
Any thoughts? This one has me stumped. I "seem" to have it working on the live site now, but no idea why. trying to make the residual change to the local mirror on my hard drive does not seem to want to allow the "proper" name. More interesting, take out the config files and it still does not see the "index" page, rename it back, and there it is ...
Any suggestions might be friendly ... :)
Paul
Paul D. Buck wrote:
With version 1.5, it is MUCH more insistent that it be installed in the target directory with no if, ands or buts. even when the configuration file SHOULD only need the one variable with the path name changed, this does not seem to properly take effect. Restarting apache does not seem to change things, nor does dumping the cache.
I'm afraid we won't be able to help much without a more detailed description of the problem. In what way is it "insistent"? What things do not seem to be changed?
-- brion vibber (brion @ pobox.com)
Ok, I install all the files to something/b-w/
Run the index page, get a config file, stand up the WIki. Make sure it works and so on.
Now, rename the directory to the "real" target, say something/boinc- wiki ... change the one line in the config file ... it should come up. Nope, no site.
Restart apache, flush the caches in the browser, try a browser never pointed there before ... it still seems to not want to come "alive".
Strange.
Paul
On Oct 10, 2005, at 1:58 PM, Brion Vibber wrote:
Paul D. Buck wrote:
With version 1.5, it is MUCH more insistent that it be installed in the target directory with no if, ands or buts. even when the configuration file SHOULD only need the one variable with the path name changed, this does not seem to properly take effect. Restarting apache does not seem to change things, nor does dumping the cache.
I'm afraid we won't be able to help much without a more detailed description of the problem. In what way is it "insistent"? What things do not seem to be changed?
-- brion vibber (brion @ pobox.com) _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Paul D. Buck wrote:
Ok, I install all the files to something/b-w/
Run the index page, get a config file, stand up the WIki. Make sure it works and so on.
Now, rename the directory to the "real" target, say something/boinc- wiki ... change the one line in the config file ... it should come up. Nope, no site.
What does this mean, "nope, no site"?
Can you describe it? Can you provide a URL to the site for us to look at? Is it blank? What's in your error log? Are you keeping an error log? What have you tried so far? Have you confirmed that you haven't corrupted the LocalSettings.php file, causing a fatal parsing error? etc
Please see: http://www.catb.org/~esr/faqs/smart-questions.html
-- brion vibber (brion @ pobox.com)
I mean, enter the URL, hit show page, no page is returned.
I do not have an example site, at this time, "visible", I suppose I could try to set one up. My only example right now is on my home system, you are welcome to stop by ... ;)
Yes, no corruption. A simple change from b-w to boinc-wiki and back, with the change to the folder name is all that is done. So, no 404 error saying the page could not be found, but no page content either (though most browsers "pretend" to load a page before coming up blank).
It should not be hard to see if you see the same problem. On a small test installation, change the folder name, change the local settings file to have the new name, and see if what I have seen is reproducible. Maybe it is just me. I will look at the FAQ to see if anything leaps out at me.
And if I can set up a test instance I will let you know. My problem is one of resources, time and so forth, but I will try. As far as an "Error Log" is this something I need to turn on? If not, where is the contents written, I can look there. I do NOT have command line access to the "visible" site, so, that limits me somewhat ... but the local site, including if Apache is supposed to be logging errors (or you can tell me how to turn this on for testing purposes). NONE of the configuration documentation (which is not very intuitive or organized) is constructed in a way that tells a new person how to improve their "self-defense". I have some notes on *MY* experience and I was planning (in my copious free time) to make some additions to the documentation you have.
Thanks, and I will let you know what I can do, if I can show an example site that you can look at ... or not, if what I say happens ... :)
On Oct 10, 2005, at 2:56 PM, Brion Vibber wrote:
Paul D. Buck wrote:
Ok, I install all the files to something/b-w/
Run the index page, get a config file, stand up the WIki. Make sure it works and so on.
Now, rename the directory to the "real" target, say something/boinc- wiki ... change the one line in the config file ... it should come up. Nope, no site.
What does this mean, "nope, no site"?
Can you describe it? Can you provide a URL to the site for us to look at? Is it blank? What's in your error log? Are you keeping an error log? What have you tried so far? Have you confirmed that you haven't corrupted the LocalSettings.php file, causing a fatal parsing error? etc
Please see: http://www.catb.org/~esr/faqs/smart-questions.html
-- brion vibber (brion @ pobox.com) _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Paul D. Buck wrote:
I mean, enter the URL, hit show page, no page is returned.
I do not have an example site, at this time, "visible", I suppose I could try to set one up. My only example right now is on my home system, you are welcome to stop by ... ;)
Yes, no corruption. A simple change from b-w to boinc-wiki and back, with the change to the folder name is all that is done.
You still haven't said what you've tried to change in the configuration, where, when, how, or with what.
You need to provide this kind of information if you want people to be able to help you.
At a minimum, if renaming the parent directory you will likely need to update the $IP and $wgScriptPath variables in LocalSettings.php.
So, no 404 error saying the page could not be found, but no page content either (though most browsers "pretend" to load a page before coming up blank).
Please see php.ini for the error logging options. (Try adding ini_set('display_errors',1); early in LocalSettings.php, which may or may not help in some cases if you can't access php.ini.)
-- brion vibber (brion @ pobox.com)
Brion,
Actually I have said it repeatedly.
Make a wiki installation. Make sure it works. Rename the folder containing the Wiki on the server change the $wgScriptPath from say "/b-w" (original installation) to "/boinc-wiki"; try new url, changing only /b-w/index.php to /boinc-wiki/index.php
At this point I get a blank page.
Nothing hard, so, I am failing to understand why we are not communicating here. Each time you ask, I say I did this. The only changes are to try to make the steps clearer. And I don't know how to do that. Not hard to make the changes, but, it is hard to understand why the new site does not show up where it has been "moved". And, yes, I do make the change to the localsettings file.
And, I have been trying to provide the information. Perhaps you have been thinking I am doing some major surgery. Nope, simple move.
Paul On Oct 11, 2005, at 1:43 AM, Brion Vibber wrote:
Paul D. Buck wrote:
I mean, enter the URL, hit show page, no page is returned.
I do not have an example site, at this time, "visible", I suppose I could try to set one up. My only example right now is on my home system, you are welcome to stop by ... ;)
Yes, no corruption. A simple change from b-w to boinc-wiki and back, with the change to the folder name is all that is done.
You still haven't said what you've tried to change in the configuration, where, when, how, or with what.
You need to provide this kind of information if you want people to be able to help you.
At a minimum, if renaming the parent directory you will likely need to update the $IP and $wgScriptPath variables in LocalSettings.php.
So, no 404 error saying the page could not be found, but no page content either (though most browsers "pretend" to load a page before coming up blank).
Please see php.ini for the error logging options. (Try adding ini_set('display_errors',1); early in LocalSettings.php, which may or may not help in some cases if you can't access php.ini.)
-- brion vibber (brion @ pobox.com) _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On Tuesday 11 October 2005 09:44, Paul D. Buck wrote:
Brion,
Actually I have said it repeatedly.
Make a wiki installation. Make sure it works. Rename the folder containing the Wiki on the server change the $wgScriptPath from say "/b-w" (original installation) to "/boinc-wiki"; try new url, changing only /b-w/index.php to /boinc-wiki/index.php
At this point I get a blank page.
Just to confirm, have you changed the $IP variable in your LocalSettings.php as well? Brion alluded to this and afaict you need to make sure it has been changed as well, but you keep reffering only to having changed $wgScriptPath.
Paul D. Buck wrote:
Brion,
Actually I have said it repeatedly.
Make a wiki installation. Make sure it works. Rename the folder containing the Wiki on the server change the $wgScriptPath from say "/b-w" (original installation) to "/boinc-wiki"; try new url, changing only /b-w/index.php to /boinc-wiki/index.php
At this point I get a blank page.
Nothing hard, so, I am failing to understand why we are not communicating here. Each time you ask, I say I did this.
That's false -- you've said you changed *something* but you have failed, over and over again, to say *what* you've changed.
If you're going to post to the *software development* mailing list, it's generally expected that you should have some minimum ability to explain what you're trying to do, and to be able to provide specific information when asked for follow-up details.
Above you've finally said which variable you're changing -- thank you for that! If the above description is in fact complete, then it's clear that you are NOT setting the necessary variables, so the include files fail to load and a fatal error occurs.
Since you have failed to follow the directions I gave you to enable error display or error logging, you're getting blank output instead of seeing the error message.
You also didn't bother to read and respond to my last message where I told you specifically which variables you have to change:
At a minimum, if renaming the parent directory you will likely need to update the $IP and $wgScriptPath variables in LocalSettings.php.
Please read the above sentence, and follow the directions.
-- brion vibber (brion @ pobox.com)
Brion,
Sigh, I have qualifications. Suffice to say I am well aware of what is needed to trouble shoot problems. I used to write software professionally. Believe as much of this as you like. Or as little. If you rummage around you can see where I wrote some PHP code to implement a Google search, granted based on others work, but, written reasonably well for all of that. I appreciate your time, more than you seem to recognize. And, if you DO go back to my original post, I said the same thing I said in the last post.
Renaming the folder of the WIki installation is the key step you insist that I have not told you of the process. After that step I would say I changed the pointer to the folder.
What I HAD been missing, because of its non-contiguous location, and its "duplication" of information not constructed as all the rest of the "pointer" variables. But, NOT changing $IP was my mistake, and I missed the firs suggestion because I was tired. But, changing both pointers solves the issue.
I regret annoying you, and our miscommunication. And, for my part, a feeling of frustration, because I assumed, posting to a mailing list like this, that I did not have to say more than:
I install to a directory named "x" I renamed the directory Changed LocalSettings.php (granted I should have identified the exact change, variable name).
Anyway, problem solved. But, I still think that having two variables, essentially pointing to the "same" place, not co-located, and not derived from each other, SHOULD have a note to prevent this ... Well, I do plan to write this up as I get time as there is a lot of implicit assumptions in the installation procedures. And they do not address a clear way to perform an upgrade, particularly when you do not have direct physical control over the server and all of its sofware.
Again, sorry for the trouble, and I do appreciate your time.
Paul
On Oct 11, 2005, at 2:05 PM, Brion Vibber wrote:
Paul D. Buck wrote:
Brion,
Actually I have said it repeatedly.
Make a wiki installation. Make sure it works. Rename the folder containing the Wiki on the server change the $wgScriptPath from say "/b-w" (original installation) to "/boinc-wiki"; try new url, changing only /b-w/index.php to /boinc-wiki/index.php
At this point I get a blank page.
Nothing hard, so, I am failing to understand why we are not communicating here. Each time you ask, I say I did this.
That's false -- you've said you changed *something* but you have failed, over and over again, to say *what* you've changed.
If you're going to post to the *software development* mailing list, it's generally expected that you should have some minimum ability to explain what you're trying to do, and to be able to provide specific information when asked for follow-up details.
Above you've finally said which variable you're changing -- thank you for that! If the above description is in fact complete, then it's clear that you are NOT setting the necessary variables, so the include files fail to load and a fatal error occurs.
Since you have failed to follow the directions I gave you to enable error display or error logging, you're getting blank output instead of seeing the error message.
You also didn't bother to read and respond to my last message where I told you specifically which variables you have to change:
At a minimum, if renaming the parent directory you will likely need to update the $IP and $wgScriptPath variables in LocalSettings.php.
Please read the above sentence, and follow the directions.
-- brion vibber (brion @ pobox.com) _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org