Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Art Library Fixes  (Read 1713 times)

0 Members and 1 Guest are viewing this topic.

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Art Library Fixes
« on: September 27, 2004, 02:10:56 am »
Hey guys,

Lately there have been a few uploading problems at the art library, a couple of notes about that below.

1. I believe the problem was related to my virtual server host. My hard limit on PHP uploads is 7 mb. A lot of the files that people have been trying to upload lately have been over that size, and have not worked. I didn't realize there was such a limit, and unfortunately, it is not something I could have them adjust (unless I went with a fully dedicated server... which is a possibility) There is also a php processing issue related to the uploading of large files, with a limit set. Not much I can do about that either.

The fix. I've limited the size of uploads to 7 mb. If you need to upload anything bigger, you can message me, and I will give you an FTP username & password for uploading these files, which I will then move over to the live site for you. Just PM me here, and I will take care of it asap.

2. Just for good measure I backed up the database (which is a somewhat regular occurence) and all of the media. I then reinstalled the software. I tried to mod the software to allow multi-language support. I keep getting a "t_foreach" error... pretty basic, but seems limited somewhat to my flavor of PHP, so I'm waiting to hear back the software authors.

Anyway, sorry for any inconvenience.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re:Art Library Fixes
« Reply #1 on: September 27, 2004, 07:58:13 am »
If you can have your own .htacces files you should be able to set post_max_size and upload_max_filesize on a per directory basis.

for instance, we have these lines in our .htaccess file:
php_value upload_max_filesize 20M
php_value post_max_size 20M

(the manual says you also need to increase the memory size, but I couldn't figure out why so we didn't do that and it works fine AFAIK)

See also:
http://www.php.net/manual/en/function.ini-set.php
This signature is intentionally left blank

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re:Art Library Fixes
« Reply #2 on: September 27, 2004, 11:36:35 am »
No that doesn't work. Already look into it.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re:Art Library Fixes
« Reply #3 on: September 27, 2004, 01:28:12 pm »
Ah well, for PHP that's the way you are supposed to configure it (I'm happy it does work on our servers).

If that doesnt work for you then I guess it's not PHP holding you back (you could check with phpinfo to be sure though). They might have limited the web server upload size (LimitRequestBody?), but that sounds like a lame thing to do.
This signature is intentionally left blank

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re:Art Library Fixes
« Reply #4 on: September 27, 2004, 01:31:50 pm »
No, it's a specifically stated set limit from my hosting company. They set it in their php.ini file

Raspberry Pi, AttractMode, and Skeletor enthusiast.

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re:Art Library Fixes
« Reply #5 on: September 27, 2004, 02:00:13 pm »
No, it's a specifically stated set limit from my hosting company. They set it in their php.ini file
Well if it is only their php.ini file then you should try that .htaccess addition I gave. That's designed to overrule the exactly those php.ini settings. Maybe you did something wrong before (I have to admit it took me a few tries too) Maybe you also need to change the memory size, but I never needed that.

If you put a php.info page in the directory you can see if changing the settings worked or not.

We run 2 webservers where we do the same. We limit my clients to uploads of 8MB (for their own safety really), but if people want to upload bigger files they can overrule that.
This signature is intentionally left blank

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re:Art Library Fixes
« Reply #6 on: September 27, 2004, 09:51:47 pm »
OK. You got me. That actually worked. Thanks for being persistent.

I had tried that, but finally figured out the right place for it.

So, thanks again. I appreciate it.

Anyway, I've sent you a PM.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

froggerman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 311
  • Last login:March 01, 2015, 03:23:14 am
  • You want how many buttons?!
Re:Art Library Fixes
« Reply #7 on: September 28, 2004, 12:12:49 am »
I am still having a problem trying to upload files. Here is a picture of the error screen. Any thoughts?

patrickl

  • I cannot know for certain which will be tastiest
  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4614
  • Last login:August 27, 2021, 09:25:30 am
  • Yo momma llama
    • PocketGalaga
Re:Art Library Fixes
« Reply #8 on: September 28, 2004, 04:34:19 am »
OK. You got me. That actually worked. Thanks for being persistent.

I had tried that, but finally figured out the right place for it.

So, thanks again. I appreciate it.

Anyway, I've sent you a PM.
Ah, ok great that it works. You really had me worried there  :P

(BTW I guess I should have read this before reading the PM)
This signature is intentionally left blank

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re:Art Library Fixes
« Reply #9 on: September 28, 2004, 11:09:02 am »
Hm. I don't know froggerman.

I'll look into it.
Raspberry Pi, AttractMode, and Skeletor enthusiast.

mahuti

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2757
  • Last login:September 18, 2024, 01:16:22 pm
  • I dare anything! I am Skeletor!
Re:Art Library Fixes
« Reply #10 on: September 28, 2004, 11:12:41 am »
Just email it to me and I'll try it out. I just tried with an ai file with no problem, I wanna get this fixed, though, and I'm not having that problem. So send it to me, I'll see if I can recreate the problem.

Raspberry Pi, AttractMode, and Skeletor enthusiast.