I was using 1.1.4. Upgraded to 1.1.12 without a problem, until I go back to the directory of the message board, to be greeted with a 0KB blank page.
http://japantown.awardspace.com/messageboard/index.php
WTH happened?
I downloaded the right package. Uploaded all the files with FTP, overwriting all of the old ones.
Then I go to http://japantown.awardspace.com/messageboard/upgrade.php
I do everything it says. It says everything went OK.
Then I go check out my new board, and see absolutely nothing.
I find it ironic how the upgrader says "now that wasn't so hard, was it?"
Yes, yes it was hard. It still is hard. Actually, this is the worst thing that could happen, if it really did delete everything.
I look at all the files on the host, they are all there. index.php is listed as 14.66KB, not 0KB like when the page loads.
I just checked to see if your agreement.txt. and license.txt were there, and they did display. I suspect that your settings.php file is corrupted. Check to see if it is at the forum root(same folder as index.php) and check to see if there is anything in it.
There should also be a settings_bak.php file. Verify that they both contain the same information.
Thanks for replying. Settings.php and settings_bak.php are both in the root folder along with index.php.
I just did the whole upgrading process again, and still, blank page.
EDIT
I check both of the settings files, both have stuff in them. What I did notice was maintenance mode was set to 2 in both of them. I manually changed them both to 0 and checked the forum again, alas, there is still a blank bage.
EDIT
And yes, both files contain identical information.
Have you verified that your database is still there?
I have no idea myself beyond that and what has already been done.
Hopefully someone else will come along and have some better answers for you.
yes, of course it is still there. my chat room is still running off of the same database. and a hour ago before attempting to upgrade, smf 1.1.4 was running just fine. i was so tempted after reading "upgrading will only take a minute" i went ahead and did it. of course, that was several hours ago, and now my forum is gone.
EDIT
well im going to go cry myself to sleep now. maybe a solution to this problem will magically appear when i wake up.
I just attempted the upgrade process for a FOURTH time. After upgrading, it said this.
LainaaUpgrading...
Updating and creating indexes... Successful.
Reorganizing configuration settings... Successful.
Installing new default theme... Successful.
Adding and updating member data... Successful.
Updating holidays and calendar... Successful.
Adding custom message icons... Successful.
Adding package servers... Successful.
Cleaning up database... Successful.
Converting avatar permissions... Successful.
Adjusting uploadable avatars... Successful.
Updating thumbnails... Successful.
Updating ban system... Successful.
Updating permissions... Successful.
Updating search cache... Successful.
Upgrading log system... Successful.
Making SMF MySQL strict compatible... Successful.
Adding more room for the buddy list Successful.
Change some column types to accomodate more messages. Successful.
Final clean up... Successful.
Upgrade Complete
That wasn't so hard, was it? Now you are ready to use your installation of SMF. Hope you like it!
Delete this upgrade.php and its data files now. (doesn't work on all servers.)
If you had any problems with this upgrade, or have any problems using SMF, please don't hesitate to look to us for assistance.
Best of luck,
Simple Machines
Well, I have a problem, and now I am coming to you guys for assistance. Looking to you guys for assistance?
PHP version: 5.2.5
MySQL 4
Is it meaningful that in the settings files every time after I attempt this minute-long upgrade, the maintenance mode is set to 2? Setting it to 0 has no effect on the problem of my message board turning to nothing.
EDIT
After opening up my index.php file in FTP I added
ini_set("display_errors",1);
below
<?php
But, I still got a blank page, no errors. I got the suggestion from this old topic.
http://www.simplemachines.org/community/index.php?topic=375317.0
And the other 23 topics I read about this problem do nothing for me.
EDIT
I went to PHPMyAdmin. On the left hand side, I clicked on log_errors.
The query
SELECT * FROM `MBlog_errors` WHERE 1
was already typed in, so I clicked on go.
1 row with some information was shown. I clicked on "edit" to reveal this, among some other things which I think are irrelevant.
2: file(/home/www/japantown.awardspace.com/messageboard/Packages/installed.list): failed to open stream: No such file or directory<br />File: /~/www/japantown.awardspace.com/messageboard/sources/Subs-Package.php<br />Line: 509
Is this a clue to what is causing this WSOD?
Also, why is "sources" not "Sources"? I think in 1.1.4 is was lower case, in 1.1.12 it is uppercase.
Anyways, I go to line 509 in subs-package.php, it says this
$installed_mods = file($boarddir . '/Packages/installed.list');
So, I go to packages/installed.list
The file does exist, but it is 0KB. Does that matter? Is this the problem? How do I fix it?
EDIT
I tried using repair_settings.php.
I noticed the new file folders started in capital letters, but all my directories linked to lowercase folders, so i renamed the folders to make them lowercase in hopes of it fixing the problem, but it didn't do anything.
this is beyond frustrating... why does it boast only taking a minute to upgrade, when the forums are flooded with help on upgrading problems, which obviously makes upgrading takes hours, if not weeks.
i would say this is completely unacceptable, but i guess you get what you pay for.
well. since no one knows how to solve this problem, can someone tell me a quick way to remove every trace of this message board from my web site? if i delete all of the files, will that automatically delete all of the ~80 items in the database? i would rather not do this, but i have no idea what else to do.
you would have to manually delete the database as well as the files. you could always look into hiring someone to fix it for you.
Johnnymushio, I apologize. I had hoped that someone else would jump in here with a solution, or at least some good suggestions on where to look. I am baffled myself.
This is unusual. Most upgrades go without problems. The reason we see threads about problems here is because nobody ever makes a thread if things go perfectly, so the content on this site is skewed.
Would you be willing to give an SMF team member cPanel and forum admin access so we can look into this?
ETA: Oh and which upgrade package did you use?
If you were wanting to go directly from 1.1.4 to 1.1.12 the large upgrade pack (http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-12_upgrade.zip) is the one to use.
If you used the Small Update package (just checking) then that would definitely cause problems.
Yes, I used the large upgrade package. Several times actually.
And by cpanel and forum admin access username/password, you mean to the board? well. i am not sure what good it would do you, considering the whole forum is just blank. i can't even access anything. i just see white.
If there is nothing I can do, is there a way to at least salvage some board names and board descriptions. That information must be in some file somewhere. so if i do end up starting fresh, I will at least know which categories I had.
and speaking of password/username, if some staff member really wanted to, I guess I could just temporarily change the password to the database and give one of you guys control of it. but, i think if i changed the password to the database i would have to change it for smf as well so smf could still access the database. how would i go about doing that with a blank board? i can modify files still, just not view them via http.
i wouldnt be too devastated if i had to start fresh, but i just think in the future if i wanted to upgrade again, something will prevent me, like this problem, from doing it. so i would love to fix this without a complete reboot of the board.
by giving access to your hosts control panel and a valid admin account on your forum a member of the staff here would be able to fix any issues you are currently having. by just giving them access to the database you would not be giving them enough access to fix the problems. at the minimum they would need ftp access and a valid admin account on your forum.
So a staff member would need the following, am I correct?
host: username/pass
ftp: username/pass
my sites board: username/pass
database: username/pass
that would be fine, i would just like to know how to temporarily change my sites board admin password.
yes they would need that information, but please wait for a staff member to offer their service to fix your issue.
Lainaus käyttäjältä: Johnnymushio - joulukuu 01, 2010, 07:35:34 IP
So a staff member would need the following, am I correct?
host: username/pass
ftp: username/pass
my sites board: username/pass
database: username/pass
that would be fine, i would just like to know how to temporarily change my sites board admin password.
Yes that would be sufficient access. You don't really need to change anything as anyone who has database access can create another forum admin account for temporary use anyway.
Lainaus käyttäjältä: Johnnymushio - joulukuu 01, 2010, 06:41:43 IPIf there is nothing I can do, is there a way to at least salvage some board names and board descriptions. That information must be in some file somewhere. so if i do end up starting fresh, I will at least know which categories I had.
All settings and forum content should still be in the database. Speaking of which, did you make a backup before attemtping the upgrade? If you have one available that might be handy, depending on what the problem is.
Yeah, I checked the "backup" box when I started the upgrade. And I just wanted to know how to change my sites admin password just because I don't want anyone knowing the real thing :)
So, the board titles and descriptions are located in the database? I'll have to go take a look.
Actually I see "topics" in the database now, but no titles or descriptions, just numbers and things like that.
Well you can change the password later anyway.
The topics table only contains reference numbers. The actual title and post content is stored in the messages table. In other words, all text content is listed by message ID and that includes the title of each post.
so, are you offering to take a look? im going to bed now, but i can pm you the login information tomorrow
Yep, I'll take a look and/or make sure someone else does (depending on timing).
ok, i have pmed you the info. i hope the problem can be figured out so next time around i can avoid it. if not, oh well
Ok, I think I have solved the problem. When I checked some of the files I found that the main http://japantown.awardspace.com/messageboard/index.php file had somehow acquired the code content from Settings.php. The Settings_bak.php file had the code content from Sources/Subs.php. I think that when you were upping all the files you got a couple of critical ones mixed up.
The forum is up again now and seems ok on basic guest view, but the admin login you gave me does not have the correct password so I'm unable to get into admin and run full checks. I could have pigged around in the database creating and approving a new admin account but thought it would be easier to just get the pass from you. :)
I have a couple questions. I am not sure if this is related to just normal things that happened when the forum is upgraded or not, but I will have to go check my old threads to see how to put things back the way they were, for example:
The favicon is no longer there.
The board is now 100% in width, instead of 765px (I might leave it like this)
I had an image at the top of the board, and under the image I had a link that linked back to the home page.
This image -> http://japantown.awardspace.com/welcometojapantown.gif
Actually not that image, the image said "Japan Town Message Board", but for whatever reason I can't link to that now.
The background used to be white.
And that SMF logo at the top used to me removed.
Are these things that get reset when the forum is upgraded?
As for the password I have no clue. I figured I would just reset the password since it is not working for some reason. After I requested an e-mail to be sent to me to reset the password, well, no e-mail was sent to me. Then I think back a couple years ago and remember how I was trying to make a contact form on my site and how my free host didn't allow e-mail's and things like that to be sent to people, so I am guessing that is the problem. Is there a way to manually reset the admin password in the database? No secret question was set, I am not sure if that was an option in 1.1.4.
Lastly, I am still a bit confused how the problem occurred in the first place. It is really bizarre that parts of files were put into other files. All I did was upload the files from the large upgrade, I didn't touch anything besides that. Any idea how it happened?
when you upload all new files you would revert any changes to the themes if you uploaded new versions of them.
for your admin issue take a look at this I accidentally deleted my admin account, what do I do? (http://docs.simplemachines.org/index.php?topic=466.0) then you can manually change your old admin account password once you are back in the forum via the profile.
After running the query, it said:
Affected rows: 0 (Query took 0.0009 sec)
SQL query:
UPDATE MBmembers SET ID_GROUP = '1' WHERE memberName = 'Johnnymushio'
If 0 rows were affected, I am not sure if it did the trick. And if it did work, I don't know where to go from here.
Ah, I should have read better. I have to make a new user then run the query.
EDIT
that did the trick, thanks :)
Lainaus käyttäjältä: Johnnymushio - joulukuu 02, 2010, 03:01:28 IP
I have a couple questions. I am not sure if this is related to just normal things that happened when the forum is upgraded or not, but I will have to go check my old threads to see how to put things back the way they were, for example:
The favicon is no longer there.
The board is now 100% in width, instead of 765px (I might leave it like this)
I had an image at the top of the board, and under the image I had a link that linked back to the home page.
This image -> http://japantown.awardspace.com/welcometojapantown.gif
Actually not that image, the image said "Japan Town Message Board", but for whatever reason I can't link to that now.
The background used to be white.
And that SMF logo at the top used to me removed.
Are these things that get reset when the forum is upgraded?
<snip>
Lastly, I am still a bit confused how the problem occurred in the first place. It is really bizarre that parts of files were put into other files. All I did was upload the files from the large upgrade, I didn't touch anything besides that. Any idea how it happened?
Last bit first: the only way I can think it could happen is if you used your host's file editor to copy paste the content in those files. IOW, copy Settings.php content from desktop and paste it into index.php by mistake.
Regarding the rest: all files are overwritten in a large upgrade so custom coding for favicons, banner, etc gets wiped and you're back to default.
That's a nice theory but, I didn't do such a thing, really. Maybe it was some kind of rare update problem, or ftp problem, where it uploaded parts of the files into other files? But I have never heard of such a thing happening. When I read your PM this morning saying that I was pretty baffled how that happened. I guess I'll just cross my fingers the next update time and hope it works.
I PM'ed you the forum admin username and password, but I think everything is pretty much set. I just have to make the custom tweaks to the theme again. Also, you said the theme goes back to the default when I use the large upgrade, does that mean if I only use the small upgrade this wouldn't happen? It shouldn't take too long for me to tweak the theme again, I'm just a little rusty. Or if I am feeling lazy, I guess next time I could just not upload the new theme folder when I upgrade. That shouldn't cause any problems, I think.
I'm not sure how much time this took you to fix, but I cannot thank you enough. It was really nice of you.
Oh well, if you didn't use their file editor then I have no idea how the content got mixed up. It could be an ftp glitch but it would be a very unusual one. It may be a glitch in their control panel. Impossible for me to tell, really. However, the content was switched in those files. It even had the complete headers with the file names, which made it rather obvious when looking in them.
I didn't check absolutely every function in SMF but I ran forum maintenance options and checked some of the basic forum functions. It seems ok now and the file list checks out as being up to date, so I don't anticipate anything else being switched.
The small upgrade does much the same as the large upgrade. The name is a bit of a misnomer really as it still overwrites a lot of files. It refers more to going from one version to the next (ie: small jump) rather than going from an ancient version to the current one (ie: large jump).
I would not advise skipping the Themes folder as sometimes there are changes. However, if you keep up to date you will be able to use patches rather than upgrade packs, and these patches install via the package manager like mods. Like mods they also edit specific parts of the code rather than overwriting entire files, so they usually don't cause any problems. If a patch becomes available for 1.1.13 there will be a notification on the main admin centre page.
Cheers.
Antechinus, you are right. As I am sitting here trying to do the simplest thing of adding a image to the top of the board, I was baffled. No matter what I did, I couldn't get it to show.
So I went into my hosts file manager and I looked at the top. It said "successfully saved blablabla.gif".
But I never even touched the gif, but that explained why the gif wasn't showing up.
Somehow, for some reason, the index.template.php code was saved into the gif.
A very bizzarre, frustrating, confusing glitch. I will contact my host about it.
I am not entirely sure how it comes about though. It may have to do with having two tabs open at once in the file manager. I guess there is no more multitasking for me.