Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 12-27-2012, 08:46 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
What is in your error_logs (if you don't know where they are, ask your host)?

Also, have your host set up an upload_tmp_dir for you and make sure he enters the full path into the php.ini file.
I'll check those things, thanks.

When the forum was moved it was done by taking a full site backup via cpanel. Database, file structure, the lot. Well, hopefully that's what happened. Shouldn't the upload_tmp_dir and the php.ini have been copied as well? If so, great, if not it makes me think about what else might not have made it.
Reply With Quote
  #12  
Old 12-27-2012, 11:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, they would not have copied over the php.ini or upload_tmp_dir. The upload_tmp_dir is just a temporary directory for the image as it is uploaded. It can be anywhere, but it needs to be specified in the php.ini file.
Reply With Quote
  #13  
Old 12-27-2012, 11:47 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
No, they would not have copied over the php.ini or upload_tmp_dir. The upload_tmp_dir is just a temporary directory for the image as it is uploaded. It can be anywhere, but it needs to be specified in the php.ini file.
OK, great, I'll have a chat with them about that.
Reply With Quote
  #14  
Old 12-29-2012, 07:38 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had an FTP problem with the host, their firewall was blocking me! Got that fixed up but the attachment issue is still there.

Can you tell me where I would find the php.ini file on my VPS? Is it something I should be able to access or is it likely only the host service can get to it?

Does the temp directory need to be in the forum root directory or somewhere above that?

Thanks.
Reply With Quote
  #15  
Old 12-30-2012, 04:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You will need to ask your host where the php.ini file is and whether you are allowed to alter it.

Usually the /tmp dir is above the root.
Reply With Quote
  #16  
Old 12-30-2012, 08:10 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, thanks.
Reply With Quote
  #17  
Old 01-01-2013, 11:08 PM
pitzerwm pitzerwm is offline
 
Join Date: Aug 2007
Location: WA state
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have never had this working , but am now following the directions. I had the host add the folder and edit the php,ini file, but I get this when I try to upload a small photo:

Could not create file system directory to hold your attachment.

What am I missing?

Thanks
Reply With Quote
  #18  
Old 01-01-2013, 11:16 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I now have the attachments working, sort of.

I think the thumbnail issue was, maybe, because GD is not installed on the server. I've asked the host to look into that.

Second problem: I can upload and attach picture that are BELOW approximately 150 kB, anything bigger fails. I have set the size in the attachment manager to 200000

What else do I need to look at?
Reply With Quote
  #19  
Old 01-02-2013, 04:56 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever say if the attachments were in the filesystem or the database? Depending on which, you need to look at these settings:

PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
wait_timeout
Reply With Quote
  #20  
Old 01-02-2013, 10:29 PM
gajinoz gajinoz is offline
 
Join Date: Nov 2011
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Did you ever say if the attachments were in the filesystem or the database? Depending on which, you need to look at these settings:

PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
wait_timeout
They're stored in the database so I'm guessing I need to look at the last two.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:30 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10698 seconds
  • Memory Usage 2,265KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete