Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43307
Total Topics: 7525
Most Online Today: 310
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 216
Total: 216

Author Topic: Disable upload progress!!  (Read 11958 times)

0 Members and 1 Guest are viewing this topic.

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Disable upload progress!!
« on: April 14, 2012, 10:33:51 am »
Can someone show me a screenshot of where this is meant to be please?

I am using SMF2.0.2 with the latest 2.1.3 version of this software and I cannot see the upload progress anywhere, even if I tick the box in settings which should disable and then untick it.

I have reverted back to using the default theme in case it's something to do with my custom theme, I have also enabled and checked that popups are allowed in case it's meant to be a popup.

I don't have any problems uploading files at all, from the smallest right up to 155MB (160MB is my limit for both 'Post Max Filesize' & 'Upload Max Filesize ' which I set in my php.ini), but what I do have a problem is that I cannot tell if the file is uploading or not or how far it is through the process.

Any help is much appreciated.

Thanks, Dave


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #1 on: April 15, 2012, 12:15:48 am »
It adds a counter of the number of bytes that have been uploaded so far.
Attached a screenshot of the area where it would appear.


Have thought about adding an option to use a real upload progress meter but requires a php extension which is why I didn't add it to begin with but I can do it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #2 on: April 15, 2012, 02:46:34 am »
Ok well all I see is what is seen in the image attached.

You have read what I put in the first post so where could the problem be that I'm not seeing that the same as your screenshot. I will try various options in the meantime like, disable my anti virus, and different browser etc to see if it helps, if I find anything I'll let you know


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #3 on: April 15, 2012, 05:10:06 pm »
It should be in the spot where it says "Unable to find server informations"
The basic byte counter using a file in the php upload directory to monitor the file upload progress.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #4 on: April 16, 2012, 03:06:17 am »
It should be in the spot where it says "Unable to find server informations"
The basic byte counter using a file in the php upload directory to monitor the file upload progress.


Can you tell me where would the default 'php upload directory' be?

I did look at the code in 'whileuploading.php' and changed the part that mentions ''C:/WINDOWS/TEMP''. When I change from / to \ in the line that's when I get a line that says 'Uploading 134.78kb' (not exactly that amount) but it doesn't move, just stays on the same figure untill the upload is complete.
Do you think that line should be user edited to point to a specific folder?

Code: [Select]
<?php
// PUBLIC SETTINGS
//$tmpdir = 'C:/WINDOWS/TEMP'; // your PHP temporary upload folder ( without last slash )
// for this method is better set this folder in a dedicated one
// to be sure that in that folder there isn't any other php temporary file

Thanks for keep looking at this by the way it's good to know that you guy's do give support and it really does make all the difference to us users of your mods.

Dave


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #5 on: April 16, 2012, 10:57:36 am »
Create a test php file called  test.php
Inside it put
Code: [Select]
<?php
phpinfo
();
?>

Upload it to your site then run it via the browser and search for upload_tmp and should tell  you the path.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #6 on: April 16, 2012, 01:05:55 pm »
Create a test php file called  test.php
Inside it put
Code: [Select]
<?php
phpinfo
();
?>

Upload it to your site then run it via the browser and search for upload_tmp and should tell  you the path.


Unfortunately for me it says 'No Value' and there is no other instance of that directory in the window. I have also tried the php info on my cPanel too but there is nothing about it in there.

I managed to change the directory info in 'whileuploading.php' to look for C:\php\upload_tmp and it actually worked...just once though....but it hasn't worked since.

It's very frustrating


Listen to Quizland radio here

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #7 on: April 16, 2012, 03:00:27 pm »
Create a test php file called  test.php
Inside it put
Code: [Select]
<?php
phpinfo
();
?>

Upload it to your site then run it via the browser and search for upload_tmp and should tell  you the path.


Unfortunately for me it says 'No Value' and there is no other instance of that directory in the window. I have also tried the php info on my cPanel too but there is nothing about it in there.

I managed to change the directory info in 'whileuploading.php' to look for C:\php\upload_tmp and it actually worked...just once though....but it hasn't worked since.

It's very frustrating



An update.

Ok I have now got it working 3 times in a row with different size files upto 55MB.

What did I do?

In 'whileuploading.php' I changed the line;

Code: [Select]
//$tmpdir = 'C:/WINDOWS/TEMP'; // your PHP temporary upload folder ( without last slash )
to

Code: [Select]
//$tmpdir = ''; // your PHP temporary upload folder ( without last slash )


by removing the directory location php looks for the default upload_tmp_dir.

I then found out that the 'memory_limit' must be bigger than the max_upload limit, by changing these the upload indicator now works

Thanks for the tips

Dave


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #8 on: April 16, 2012, 03:04:22 pm »
Great did you raise the memory limit in your php settings? Just wondering what settings you changed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #9 on: April 17, 2012, 01:46:07 am »
Great did you raise the memory limit in your php settings? Just wondering what settings you changed.

Yep that's what I did.

My web host doesn't normally let people have access to the php.ini but as I have 6 sites with them they let me have it in my root, so after reading a bit about php last night it was then I found out that the default 'memory_limit' is 128M so I just raised that to 170 which is 10M above my max upload.   


Listen to Quizland radio here

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #10 on: May 06, 2012, 12:58:18 pm »
Ok well this has failed again now for some reason and I have asked the host if they have changed settings and they say no. I also went and signed up with another host and the same happens there too...so it looks like I'm back to square one with no upload monitor.

It starts by saying 'Waiting a response from temp folder ...' and ends up 'Temp folder seems to be not valid.'

My problem is that with some of the files to be uploaded being over 100MB then my members on slow upload speeds really need to know how the upload is progressing.

I have checked the php.ini etc but still nothing...if I had hair I'd be pulling it out  :'(

Any ideas VB?


Listen to Quizland radio here

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #11 on: May 10, 2012, 01:57:48 pm »
Ok 4 days now since I posted the reply any chance of an answer as to what might have caused the sudden change?

One question of course is does anyone else suffer from the same problem?

Someone talk to me please   ;)


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #12 on: May 10, 2012, 02:00:19 pm »
Other than a hosting environment change or setting that is what would. cause it to stop working.

I might add a real progress bar but that takes time and is dependent on if your hosting/server supports it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline davejo

  • Downloads Pro Customer
  • Full Member
  • *****
  • Posts: 185
    • View Profile
    • Quizland
Re: Disable upload progress!!
« Reply #13 on: May 10, 2012, 02:50:10 pm »


I might add a real progress bar but that takes time and is dependent on if your hosting/server supports it.

Thanks for the quick reply.

What would the host/server need in order for your idea to work VB?

 I can try and get ahead of the game if you let me know by asking the hosts or checking the phpinfo.

Thanks


Listen to Quizland radio here

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16457
    • View Profile
Re: Disable upload progress!!
« Reply #14 on: May 10, 2012, 03:03:52 pm »
There is an uploadprogress extension check if you can set it up in your php.ini or there is a PECL extension.
I belive newer php versions have it built in.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4350 Views
Last post March 01, 2009, 09:33:13 am
by Vincent Volmer
4 Replies
4201 Views
Last post August 04, 2010, 06:54:18 pm
by SMFHacks
2 Replies
3475 Views
Last post November 30, 2010, 01:07:08 pm
by flutter
1 Replies
3211 Views
Last post February 20, 2015, 01:13:13 am
by SMFHacks
8 Replies
7477 Views
Last post July 15, 2015, 11:04:19 am
by pasqualino77

+- Recent Topics

Attachment images Upsidedown or Sideways by donk
Today at 12:57:32 am

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

Powered by EzPortal