Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 10-10-2011, 02:46 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shadow786 View Post
Yeah, I figured it out. I was looking at the TextEdit that comes bundled with OSXM my mistake.

I tried what you suggested and then rebooted my server but still no joy.
You have excluded the "php.ini" file as the problem then? Did you upload the unaltered file from your vB packet?

If it is excluded, then must now know the error details, have you been able to retrieve those as yet?
Reply With Quote
  #12  
Old 10-10-2011, 02:51 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, you've confused me. What is a vB Packet? Sorry for the noobish question.

And no, I have not been able to retrieve anything which details the problem.
Reply With Quote
  #13  
Old 10-10-2011, 02:58 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shadow786 View Post
Sorry, you've confused me. What is a vB Packet? Sorry for the noobish question.

And no, I have not been able to retrieve anything which details the problem.
The complete files and folders you should still have from originally downloading your vBulletin software. I suggest going in there and retrieving the "php.ini" file and uploading it after you rename the one you altered, rename it something like "php_modded.ini" then upload the original, unaltered php.ini file to the same location.

If you do not have your original files and folders you can go to the customer area of vBulletin.com and download it all again.

I suggest replacing the file you edited, with the original as a troubleshooting measure, testing to see if your altered file is causing your errors. Without details of the error, it's the only thing we can try. We are trying to either exclude the php.ini file as the cause of your problems, or identify it as the source of the problems. Process of elimination.
Reply With Quote
  #14  
Old 10-10-2011, 03:22 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, as you instructed, i downloaded all the original files and folders from the customer area and ran a search for the "php.ini" file. However nothing came up? Am i doing something wrong here?
Reply With Quote
  #15  
Old 10-10-2011, 03:32 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shadow786 View Post
Okay, as you instructed, i downloaded all the original files and folders from the customer area and ran a search for the "php.ini" file. However nothing came up? Am i doing something wrong here?
I think I'm wrong... Not finding this file in my vB packet either.

You say you edited it? Where was it located?
Reply With Quote
  #16  
Old 10-10-2011, 03:36 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah that's correct. It was the one located here:

/home/[sitename]/etc/php5
Reply With Quote
  #17  
Old 10-10-2011, 03:43 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shadow786 View Post
Yeah that's correct. It was the one located here:

/home/[sitename]/etc/php5
When you opened it again with TextEdit, did you see any added characters at the top line or bottom one?

If you PM me the file as a attachment, I can look and identify them quickly, seen them before.
Reply With Quote
  #18  
Old 10-10-2011, 04:01 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Notepad++ is not the same as Windows Notepad.

Notepad++ is a good text editor, I have used it for years- it is not the problem.

When you get a database error simply "View source" of the page and the real database error will be in the code.

php.ini is not a vbulletin file. It is a file that usually isn't needed at all- it allows you (on some server setups) to override default php settings.
Reply With Quote
Благодарность от:
Max Taxable
  #19  
Old 10-10-2011, 04:01 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldn't spot anything. Sent you a PM with it instead.

EDIT: The only reason i used Notepad++ is because i use it when writing code. I find it much easier so i thought it wouldn't pose a problem when editing the "php.ini" file.

And thanks, BOP5, i'll try that right away!

EDIT2: Here's what i got using the view source option:

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
/home/ex-reapers/www/includes/class_core.php on line 314

MySQL Error :
Error Number :
Request Date : Monday, October 10th 2011 @ 06:02:54 PM
Error Date : Monday, October 10th 2011 @ 06:02:54 PM
Script : [Site]
Referrer :
IP Address : 82.46.204.134
Username :
Classname : vB_Database
MySQL Version :
Reply With Quote
Благодарность от:
Max Taxable
  #20  
Old 10-10-2011, 04:05 PM
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Posts: 3,134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for helping out BOP5, clearly I was talking nonsense and lacked the knowledge to be of any help here.

I hope you get the issue solved Shadow.
Reply With Quote
Reply


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 09:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04761 seconds
  • Memory Usage 2,257KB
  • Queries Executed 11 (?)
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
  • (4)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
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete