Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12375
Latest: scuzzy
New This Month: 2
New This Week: 1
New Today: 0
Stats
Total Posts: 40218
Total Topics: 7083
Most Online Today: 113
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 29
Total: 29

Author Topic: downloads system caput  (Read 5628 times)

0 Members and 1 Guest are viewing this topic.

Offline dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
downloads system caput
« on: March 15, 2016, 02:43:34 pm »
Hello,
I am not able to upload anything to anywhere in the downloads area.  I have another admin who is able to however from another state.

On the 2 browsers I have tried, it gives me a connection reset.  Also the error log is full... and they seem to all point to /sources/downloads2.php.  Errors are in lines 1408, 9,10 regarding undefined indexes.  (description, keyword, cat, title, fileURL ETC.)

I ran repair settings, and the only change I made was take the www out of the http://www.XXXXXXXXX URLs.

It recommended I change the cookie, so I did.  All that did was kill everyone's login...
« Last Edit: March 15, 2016, 02:54:09 pm by dan42101 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #1 on: March 15, 2016, 05:04:22 pm »
Did anything change in your hosting?
How big is the file you are uploading?
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #2 on: March 15, 2016, 05:10:56 pm »
Hosting went to cpanel a few months ago.  I recently found a path to avatars not reflecting that change.  Therefore I started down the repair_settings rabbit hole.

File is 256k pdf.  Download settings allow 5 meg...

One thing I noticed when poking around the import button, it gave a database error saying smf is 2.011 and database is 2.05, that I should run update.php.

I read elsewhere that the database has not changed since smf 2.0.

Also, I updated the downloads system to 2.6. It was 2.1a

Thanks for all you do.
« Last Edit: March 15, 2016, 05:13:14 pm by dan42101 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #3 on: March 15, 2016, 05:23:00 pm »
Make sure all your download paths are updated under Admin -> Download Configuration -> Settings
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #4 on: March 15, 2016, 05:26:04 pm »
Path:  /home/xxxxxxx/public_html/forum/downloads/ 

URL: http://XXX.com/forum/downloads/


What does /sources/downloads2.php do..?

Offline dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #5 on: March 15, 2016, 05:33:17 pm »
I chmod the path to everything goes...  attached.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #6 on: March 15, 2016, 05:33:26 pm »
Just make sure those paths are right.

That file is the download system.
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #7 on: March 15, 2016, 05:38:31 pm »
They are right as far as I can tell by the other things in repair_settings... I just put in the /downloads at the end...

Thanks.

Offline dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #8 on: March 15, 2016, 05:41:16 pm »
Should there be a / before home..? 

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #9 on: March 15, 2016, 05:42:16 pm »
Yes on both ends
Do a small upload a see if an error is logged.
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #10 on: March 15, 2016, 05:53:44 pm »
I did 2 tests, into 2 categories... They both went.  However they were both .jpg files like the other admin sent eariler today...

So where do I set the file types allowed..? Obviosly PDFs are the problem...
« Last Edit: March 15, 2016, 06:01:22 pm by dan42101 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #11 on: March 15, 2016, 06:18:34 pm »
All file types are allowed with the download system there is no type level setting
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #12 on: March 15, 2016, 06:24:25 pm »
It is a 270 KB .pdf  The jpgs go, the pdf does not.  I can open it here and it looks fine.

Is there something re: the database maybe..? 

Does the downloads system use the database..?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15109
    • View Profile
Re: downloads system caput
« Reply #13 on: March 15, 2016, 06:26:27 pm »
No it does not. It uses files
It might be a filesize issue read more here http://www.smfhacks.com/index.php/topic,3498.0.html
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 dan42101

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: downloads system caput
« Reply #14 on: March 15, 2016, 06:39:31 pm »
OK, you can mark this solved, however it is a big bug if you ask me...

FYI here is what you have to do...

I ftp'd the file in to the downloads directory.
I put in the title of the upload.
Instead of using the "choose file" button, I typed in the upload URL... it went right in that way.

Thanks for all the help...

 

Related Topics

  Subject / Started by Replies Last post
125 Replies
127847 Views
Last post December 29, 2009, 06:33:41 pm
by SMFHacks
1 Replies
4512 Views
Last post January 25, 2009, 09:45:41 am
by SNewman
2 Replies
4192 Views
Last post January 30, 2009, 07:59:33 pm
by SMFHacks
1 Replies
3923 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
8222 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal