SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

Angelina Belle

I bet you did it correctly. But even a very bad typo would not cause a 500 error.
You have to make the server plenty angry to get one of those.
Who owns the "bad" files? who owns the other files?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

David111567

Quote from: AngelinaBelle on March 28, 2012, 10:45:45 AM
Did the ADK blog mod get along OK with previous Simple Portal versions?

Yes, it was being used alongside SP for well over a year.  The last SP upgrade ( 2.3.4 ) went smooth as far as the blog mod was concerned.  This time...however, (2.3.5) it wiped out the blog mod, basically crashing it.  No other areas of the sites, so far, seem to be effected....SP is working fine.   I've tossed it up on a few test sites since my last post and it seems that ther's no coincidence here....the sp upgrade really is causing the ADK Blog mod to crash. 

The simple solution is to uninstall the ADK blog....then reinstall it and all is FINE, the blog mod works again...except that it wiped out all the blogs our members created in the last year when I did that.  So...now I know that when I upgrade SP on my other sites, I have to do the following (you might want to pass this on to others as well) :

1. backup ADK Blog Mod data from SQL Database

2. Uninstall ADK Blog Mod

3. UPGRADE Simple Portal as instructed.

4. Reinstall ADK Blog Mod

5. Restore ADK Blog Mod entries to SQL Database from backup.

This will work.  Don't know why the upgrade is doing this, but it's a minor issue compared to NOT having SP at all, which, if given the choice, I would rather have my favorite portal than the blogs anyway.  But if you follow these steps, you won't have to choose because they still work fine together with no issues once the upgrade is done.  :-)


Angelina Belle

It is not surprising that uninstall/install might be required.

But the lost data is very strange.
This is a very strange thing.  Simple Portal should not do anything to ADK tables on the database.
When you uninstalled ADK blog mod, you did not choose "delete data"?


Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

David111567

#4443
Quote from: AngelinaBelle on March 28, 2012, 03:20:58 PM
It is not surprising that uninstall/install might be required.

But the lost data is very strange.
This is a very strange thing.  Simple Portal should not do anything to ADK tables on the database.
When you uninstalled ADK blog mod, you did not choose "delete data"?



It wasn't SP that caused the data loss. It was the ADK Blog Mod that caused the data loss during the uninstall process. It's set up to remove the tables upon uninstallation. I dont know why the author chose to do it that way but it uninstalls "clean" and wipes everything unless you back it up first....so, my mistake was not researching that and backing it up to begin with.  So, I just learned a valuable lesson, the hard way. 

Correction: ADK blog does not uninstall their blog tables upon un-installation of the blog...it overwrites the original tables upon re-installation of the mod.  Big difference, but same results...once the SP upgrade is done...you have to restore the blog tables from a backup or you will lose everything. 

edcplanet

The "Recent Attached Images" block is not resizing images to thumbnails. How do I prevent the block from showing images at full size?

swoodie

Quote from: edcplanet on March 28, 2012, 07:15:49 PM
The "Recent Attached Images" block is not resizing images to thumbnails. How do I prevent the block from showing images at full size?

check this post out at simpleportal
http://simpleportal.net/index.php?topic=4118.msg31721#msg31721

Zuća



edcplanet

Quote from: swoodie on March 28, 2012, 07:32:02 PM
Quote from: edcplanet on March 28, 2012, 07:15:49 PM
The "Recent Attached Images" block is not resizing images to thumbnails. How do I prevent the block from showing images at full size?

check this post out at simpleportal
http://simpleportal.net/index.php?topic=4118.msg31721#msg31721 [nofollow]

Perfect, it worked. Thanks for the link.

teos55

Quote from: AngelinaBelle on March 28, 2012, 03:09:40 PM
I bet you did it correctly. But even a very bad typo would not cause a 500 error.
You have to make the server plenty angry to get one of those.
Who owns the "bad" files? who owns the other files?

Asked to the servser side and waiting their reply. While waiting, I havent removed shoutbox log before uninstalling ?

Can this cause this type of error ?  Should I prune it before uninstall ?

Angelina Belle

The shoutbox log would not cause a 500 error.

Ordinarily, I would suspect a CHMOD or CHOWN problem.
I will be interested to find out what your problem turns out to be, so I can add it to the "solving install problems" documentation at simpleportal.net.

I think I once heard of a 500 error caused by a bad path on a theme (theme was deleted, or path to theme went to the OLD location of the forum). But I don't think this is the cause of your problem -- your problem began on the 2.3.4 unininstall.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

teos55

  Got a relpy from server side. Files ith 666 cause internal server error and I found some. Checking this.
Will feedback.

Angelina Belle

That's great news.  Now you know to keep file permissions to 655 or lower.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

teos55

#4453
FOUND IT  :)

  Changed all files permissions to 644

Started uninstall process  failed again with internal error 500 ...  :-(

Decided to do a manual uninstall and saw that  no lines removed from ./index.php specific to sp2.3.4  even reported only one "test failed".

Did the manual update and system come back again ...

I dont know why this problem didnt occure with the others though ?

I've installed sp2.3.5  flawlessly ...

Happy now..


Also subs.php has some "remained code" specific to sp 2.3.4 , removed it and no errors in the error log now.     

Angelina Belle

Glad you found it.  It may be that your additional 500 error came with an over-enthusiastic Package Manager setting permission on something as permissive as possible.  I cannot be sure, but I know that, when things fail, it does try to turn permissions up as high as possible.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

teos55

I know that it's out of scope of SP but,

  It should be nice to have a script like ;

- ensure we are in root dir  ( /public_html in my case)
- change permissions of dirs to 755
- report if found any (for further check)
- change permissions of files to 644
- report if any   (for further check)
-done

  Can anybody code this ? for a novice user of php and unix ?


Angelina Belle

I have started a topic on bug reports.
SMF has a utility for setting permission as you wish it to be, but I have had some difficulty using it on a 1and1 forum.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Dickstar

I too, got the Internal server error 500 after trying to uninstall 2.3.4. I'm currently trying to figure out what's going on with my host support. I'll post in here if I find something.

Dickstar

#4458
Support couldn't figure it out. They ended up recovering from a full backup I made before I uninstalled the mod...



EDIT:

I uninstalled the mods after Simpleportal and it worked fine this time. It was only one mod, so it wasn't that bad for me.

Joseph H

how can i edit the home page?? 
Cheap webhosting +24 hours

Advertisement: