Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jjo

Pages: [1] 2
1
Discussion & Troubleshooting / Re: Setting User Group Permissions
« on: December 06, 2005, 01:25:51 PM »
Thanks.  That's it.

2
Discussion & Troubleshooting / Setting User Group Permissions
« on: December 06, 2005, 03:44:52 AM »
Am I doing something wrong?

I made a new user group called "Special".  I wanted to give users in that group special permission to view certain categories that regular users can't view.

But when I click "permissions" to set the permissions for that user group, I can't seem to select anything to assign.

Take a look at the graphic.

Or, am I misunderstanding what custom user groups are used for?

4
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 26, 2005, 06:54:28 PM »
I think I figured it out..again.

I had to put a php.ini file with the "upload_max_filesize = 10M" line in the directory where the upload php script is located, not just in the "root" of the website.


5
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 25, 2005, 03:12:32 PM »
I think the problem is that the command, upload_max_filesize = 10M, in my php.ini isn't really upping the size from 2M to 10M even though it's reported as 10M in my settings (http://www.joelfan.com/php.php).

Is this possible?

Is there another way to up my upload_max_filesize?

I added a line in my .htaccess file, but it just causes a 500 Internal Server Error.  (The line was php_value upload_max_filesize 10M).


6
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 25, 2005, 05:30:11 AM »
Here's what my ISP changed on their servers the other day.

They enabled something called "PHPsuexec". 

I don't know what that is.  Could something related to this be causing problems with the gallery on my site?

7
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 25, 2005, 02:47:30 AM »
I made those two changes.  The first didn't help.

The second yeilded the following result with a 5MEG upload test MPG file:

Array ( [media_file] => Array ( [name] => Kryptonite.mp3 [type] => [tmp_name] => [error] => 1 [size] => 0 ) [thumb_file] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) )
Array ( [media_file] => Array ( [name] => Kryptonite.mp3 [type] => [tmp_name] => [error] => 1 [size] => 0 ) [thumb_file] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) )


Suggestions?

8
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 24, 2005, 02:50:49 PM »
How can I up that time?

I upped the max_file_upload by adding an entry in an php.ini file in the root.  Would I just add another line in that file to change that setting?

If so, what's the syntax?

9
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 24, 2005, 02:22:21 PM »
Well, I enjoyed about 15 days of my gallery working after the max_upload_size problem was raised from 2M to 10M.  But now, my ISP changed something, and now I'm back down to 2M file limits.

But according to my PHP settings (http://www.joelfan.com/php.php), it's still at 10M.

But if I try to upload anything larger than 2M, the upload fails, and the user is placed back at the upload form with the error, "Please Select an Image File!".

Any thoughts?

http://www.joelfan.com/gallery

The "Test" gallery is open to recieve uploads from anyone.

Please help.

10
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 04:10:03 AM »
Quote
upload_max_filesize = 2M
Ask your hoster to increase upload size limit

Done.  Thanks.  That seems to be the root of all my problems.

Thanks.

11
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 04:02:09 AM »
ok, then what about what is the upload limit set on your server?
Check in phpinfo():

Here are the results:
http://www.joelfan.com/php.php

12
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 03:50:38 AM »
A test 3.84 MB MP3 file at 44kh 16-bit Stereo won't upload, but that same file reduced to 860k 22kh mono will.
Saying "wont upload" is not helpfull. As I was trying to show you above, the full error message is very important in debuging.
So, post the full message or be more describtive what happens (if no error messages).

As mentioned in the first message in this thread, if you try to upload [certain] MP3 files, the file uploads, but then the upload form is shown with the error, "Select an Image File!" up top.  That's all.  No other errors are given.  I can't tell you anymore, as 4Images isn't giving up any more secrets.

13
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 03:41:19 AM »
Looks like its very picky when it comes to MP3 files.

A test 3.84 MB MP3 file at 44kh 16-bit Stereo won't upload, but that same file reduced to 860k 22kh mono will.

My upload file size limit is capped at 10mb.

Here are those files zipped...
http://www.joelfan.com/files.zip

Any thoughts?

14
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 03:16:48 AM »
just remove the field from member_upload.html template.

I removed (remarked-out) that field, and did an MP3 upload test, and it uploaded fine.

I changed nothing else.

Odd?

15
Discussion & Troubleshooting / Re: Select an Image File! error
« on: November 09, 2005, 03:13:36 AM »
But when you try to upload an MP3 file, it uploads the file, but then the upload form is shown again with the "Select an Image File!" error on top.
Not only! it also shows this:
Quote
fword.mp3: Invalid file type (mp3, application/octet-stream)
And the solution is:
http://www.4homepages.de/forum/index.php?topic=7277.0

I already have this line in my upload_definitions.php file:

$mime_type_match['mp3'] = array("audio/mpeg", "audio/x-mpeg", "audio/mp3", "audio/mpg");

Is that syntax wrong?


Pages: [1] 2