News: TinyPortal Release Schedule. Please read this update for More Info.

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 15, 2019, 01:38:08 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188879
  • Total Topics: 20751
  • Online Today: 38
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 1
Guests: 25
Total: 26

Author Topic: Article can still be edited when it is locked for edit  (Read 8913 times)

0 Members and 1 Guest are viewing this topic.

Offline Maxx1

  • Sr. Member
  • ****
  • Posts: 352
  • Learning To Fly
    • SMF Theme & Portal Testing
Re: Article can still be edited when it is locked for edit
« Reply #10 on: March 20, 2012, 06:08:26 PM »
alan,

Glad you got it going and thanks 4 letting us know!
gonna mark solved now!

regards,
maxx
« Last Edit: March 21, 2012, 05:32:21 AM by maxx »
But Mama, That's Where all the fun is!

Offline alan

  • Jr. Member
  • **
  • Posts: 13
Re: Article can still be edited when it is locked for edit
« Reply #11 on: April 03, 2012, 03:48:01 PM »
Hello,

I replaced TPsubs.template.php, TPmodules.php, TPmodules.english.php, and TPortal.php from the download listed above which successfully fixed the problem I had.

I would now like to upgrade to the TinyPortal 1.0 Final, what is the best method for me to do the upgrade.

Thanks

Alan

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Article can still be edited when it is locked for edit
« Reply #12 on: April 03, 2012, 03:52:09 PM »
Upload the new package, click install. Easy peasy!!! :)

I prefer to uninstall the old first (making sure to not select the option to delete the tables). Always make backups before you do any changes like this though.

Offline alan

  • Jr. Member
  • **
  • Posts: 13
Re: Article can still be edited when it is locked for edit
« Reply #13 on: April 04, 2012, 06:17:53 AM »
I ran the uninstall and got the following message.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 316161 bytes) in /home/a9623288/public_html/forum/Sources/Subs-Package.php on line 2072

Then if I try to access my forum I get

Warning: require_once(/home/a9623288/public_html/forum/Sources/TPortal.php) [function.require-once]: failed to open stream: No such file or directory in /home/a9623288/public_html/forum/index.php on line 55

and

Fatal error: require_once() [function.require]: Failed opening required '/home/a9623288/public_html/forum/Sources/TPortal.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a9623288/public_html/forum/index.php on line 55

And can no longer access my forum.

Luckily I did a full backup before I started.

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: Article can still be edited when it is locked for edit
« Reply #14 on: April 04, 2012, 07:37:48 AM »
Looks like your server timed out before it was able to complete the uninstall process. You may want to try to up your memory limit on your server if you attempt it again. If it doesn't work, you may have to uninstall manually.

Offline alan

  • Jr. Member
  • **
  • Posts: 13
Re: Article can still be edited when it is locked for edit
« Reply #15 on: April 04, 2012, 08:54:36 AM »
I did a manual uninstall, not sure if I got everything.

Installed "TinyPortal 1.0 Final" l had an error where I had removed too many lines from index.php during uninstall, fixed that and all seems to be working at the moment.

This was all on my test/development installation. I'm a bit nervous about doing it on my live forum as my test/development install was unusable for a while.

I don't think I can configure memory limit on my host.