Author Topic: OSPAP2 -- Beta test  (Read 18246 times)

0 Members and 5 Guests are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #30 on: October 03, 2007, 01:53:59 pm »
I found another bug.  I think you forgot to update your database table for the new registration values.

exception 'Exception' with message 'MySQL Error: Unknown column 'user_show_empty' in 'field list': INSERT INTO `tbl_user` (`user_id`,`user_username`,`user_email`,`user_is_advanced`,`user_show_empty`,`user_remember_filter`,`user_realname`,`user_location`,`user_password`) VALUES ('','Blaze','ian@maide.ca','1','1','1','Ian','Ontario, Canada','Censored Password');' in /home/ron/public_html/ospap2/cls/clsDB.php:601
Stack trace:
#0 /home/ron/public_html/ospap2/cls/clsDB.php(585): clsDB::query('INSERT INTO `<<...')
#1 /home/ron/public_html/ospap2/cls/clsDB.php(666): clsDB::insertQuery('INSERT INTO `<<...')
#2 /home/ron/public_html/ospap2/cls/clsUser.php(69): clsDB->save()
#3 /home/ron/public_html/ospap2/pages/members.php(98): clsUser->attemptCreate()
#4 /home/ron/public_html/ospap2/cls/clsTemplate.php(71): require('/home/ron/publi...')
#5 /home/ron/public_html/ospap2/index.php(121): clsTemplate->get()
#6 {main}
Should be fixed. Give 'er a go.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #31 on: October 03, 2007, 01:55:15 pm »
http://www.javaop.com/~ron/ospap2/index.php?action=albums
Quote
Fatal error: Call to a member function get() on a non-object in /home/ron/public_html/ospap2/pages/albums.php on line 42
Fixed. Thanks!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #32 on: October 03, 2007, 01:55:50 pm »
Add a "I forgot my password" link.  I forgot my password  >:(
Haha, nice one. I may do that tonight. For now, want me to just delete your account/reset your password?

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: OSPAP2 -- Beta test
« Reply #33 on: October 03, 2007, 08:51:45 pm »
That would be great.  Make my password "password", and make my access code "access code" (:D)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #34 on: October 03, 2007, 09:08:32 pm »
All right, your password should now be "password". I have no idea what you're talking about for the access code, though. :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: OSPAP2 -- Beta test
« Reply #35 on: October 03, 2007, 09:10:51 pm »
It's from RvB :'(

Also, maybe display how many pictures are in each album on the Album List page http://www.javaop.com/~ron/ospap2/index.php?action=albums

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #36 on: October 03, 2007, 10:26:14 pm »
It's from RvB :'(
I still don't know what you're talking about, although RLB are my initials. :)

Also, maybe display how many pictures are in each album on the Album List page http://www.javaop.com/~ron/ospap2/index.php?action=albums
It already does, if you have JavaScript enabled and you click the little "+". If you have JavaScript disabled, then cute little features like that won't work but the site itself will. :)

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: OSPAP2 -- Beta test
« Reply #37 on: October 03, 2007, 10:55:13 pm »
I still don't know what you're talking about, although RLB are my initials. :)

Red vs. Blue.  It was some weekly (?) video enacted with characters from the first Halo game.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #38 on: October 03, 2007, 11:29:12 pm »
I still don't know what you're talking about, although RLB are my initials. :)

Red vs. Blue.  It was some weekly (?) video enacted with characters from the first Halo game.

Haha ok. I have no idea what that is, and I really don't know anything about Halo (other than that I didn't like it). Ohwell. :)

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #39 on: October 11, 2007, 01:36:54 pm »
So I rolled out the new version, build 2. I've made a lot of suggested changes (all of them posted here, I think?), the most major ones being:

  • Added the ability to automatically upgrade the database from any lower version to the current version. Doesn't really affect users, but it helps me out a lot.
  • Added "Forgot password" functionality, which emails you a temporary password.
  • You can now upload pictures from the main page, but you have to select the album manually (of course).
  • You can now upload a .zip file, if the php version on the server supports it.


Right now, my server doesn't support .zip uploading, but that should change within the hour.

As usual, comments are appreciated! Try out the new stuff and tell me what you think.


<edit> Server has been recompiled, .zip files can now be uploaded.
« Last Edit: October 11, 2007, 01:43:11 pm by iago »

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: OSPAP2 -- Beta test
« Reply #40 on: October 11, 2007, 09:24:06 pm »
Add tar support if you can.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #41 on: October 12, 2007, 03:15:27 am »
I'm not sure whether or not PHP supports that. Anybody know?

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: OSPAP2 -- Beta test
« Reply #42 on: October 12, 2007, 03:31:02 am »
I'm not sure whether or not PHP supports that. Anybody know?

I'm not sure, but isn't the format of a tar file pretty straightforward?

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: OSPAP2 -- Beta test
« Reply #43 on: October 12, 2007, 06:59:23 am »
SMF's webinstall.php file seems to be able to decompress and open tar(.gz) files just fine, and I remember doing something with tars.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: OSPAP2 -- Beta test
« Reply #44 on: October 12, 2007, 10:18:14 am »
So from what I can find, there is gzip and rar compression built into PHP, but not tar. Although tar is simple enough, the only library I could find is standard GPL, which is no good to me.

I could use commandline tools, but that sounds like trouble/exploits waiting to happen.

I don't think it's a big enough deal, really. Most Linux systems come with a zip utility (infozip, I think?). Of course, if there's a way to convert a tgz to a zip on the fly, then I could just do that on the server end into a temp file, if the right programs are available.