The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I created the forum here at our company a few months ago. I created a user and let him at the forum to create posts, whatever. Today I wanted to show someone the forum and tried to log in and received this after logging in: Fatal error: Call to undefined function log_admin_action() in /var/www/forums/index.php on line 84 I am able to log into the admincp with no issue. I checked with the user I created and he to has the same issue as I when trying to log onto the forum. He noticed it a few weeks ago but never said anything. Any help/guidance as to how to rectify this would be much appreciated. Thanks |
#2
|
|||
|
|||
![]()
Try re-uploading the index.php and see if your issue persists.
|
#3
|
|||
|
|||
![]()
Excuse my ignorance. I'm new at this and doing it in Ubuntu. I did a search for index.php and found it in four locations.
Dated Jun 9 /var/www/forums /var/www/forums/admincp Dated Jun 3 /var/www/forums/archive /var/www/forums/modcp I'm not sure what you mean by re-uploading. Since I can get into admincp can I just copy the index.php from the /forums/admincp directory to the /forums directory? Thanks |
#4
|
|||
|
|||
![]()
To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php define('DISABLE_HOOKS', true); If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. |
#5
|
|||
|
|||
![]()
The index.php files in each directory are different. Download vBulletin again from vBulletin.com (make sure its the appropriate version) reupload the index.php.
You cannot copy the index.php file from /forums/admincp/ to /forums/ they are not the same. |
#6
|
|||
|
|||
![]() Quote:
Thanks |
#7
|
|||
|
|||
![]()
You can download 3.7.1 PL2 from the members area.
|
#8
|
|||
|
|||
![]()
There is option to download older versions, look around the members area download page.
|
#9
|
|||
|
|||
![]()
I DL'd 3.71. PL2 and uploaded the 44.9kb index.php from the download to /var/www/forums, overwriting what was there and dated Jun 9. The new file is dated Aug 12. I then tried to log onto the forum and after entering the username/password and clicking login I get the same fatal error.
I did disable plugins and have no hacks to remove. Since this forum in only used internally, within our organization, could I rem out the function so as to not have it called? Not the I understand what it does but it appears to log admin action. I am the admin. Thanks |
#10
|
|||
|
|||
![]()
I'm not sure how you are managing it but you're still uploading the wrong index.php. If you extract the vBulletin zip file onto your computer it should preserve the directory structure.
The index.php file you should be uploading should be something like 18KB. Try all the other index.php files if you still can't get it... |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|