Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 189
Total: 189

Author Topic: downloads system caput  (Read 7906 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
2 Replies
5491 Views
Last post January 30, 2009, 07:59:33 pm
by SMFHacks
1 Replies
4677 Views
Last post November 06, 2009, 12:31:39 pm
by SMFHacks
3 Replies
5009 Views
Last post May 05, 2010, 10:09:37 am
by SMFHacks
1 Replies
5867 Views
Last post July 10, 2011, 09:34:24 am
by SMFHacks
7 Replies
10966 Views
Last post January 20, 2014, 11:17:32 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal