After the update to v 7.5.9 I was in the admin page for languages Only English was set and to default
All I did was to see what it did another choice was PHP instead of English and soon as I had that updated to the default now the main admin page is totally blank so I cannot see anything to try and fix The forum itself is fine so whatever happened is only to admin webpage
FATAL ERROR: Unable to find '/ubbthreads/languages/php.ini/mailer.php' language file. Please notify the administrator.
You shouldn't have a php.ini folder in the languages folder... What is the contents of your languages folder? What are the paths defined as in your config.inc.php file?
There was no folder named php.ini and thus the failure ( never was a folder of php.ini )
To me this is a bug as I was in language webpage and intent was to click on update as English being default
Problem is right below that it says PHP.INI and the field space to the right of that is empty
Somehow I had clicked on that as default when I clicked update and then it config'd as if that php.ini was a folder name in the path
To fix I made a php.ini folder and then copied the files from English to it and right off the admin page worked again and sure enough when going to language page php.ini was set to default and thus was not looking in the English folder
Someone needs to find out why a choice of php.ini is there and 2 if the field to the right is blank it should reject when update is clicked
Again, what do the paths in your /includes/config.inc.php folder display as? Something is broken somewhere, the UBB shouldn't ever ask for anything relating to php.ini as that's the configuration file for php on your webserver.
The only references in the UBB to "php.ini" are all comments that tell anyone browsing that values are determined via the php.ini; here is every notation of php.ini in the UBB.threads code (the command is executed on a linux/unix machine, it looks for the text "php.ini" in the indicated folder (in this case, my sandbox UBB.Threads install, running stock 7.5.9; if you have SSH access to your webspace I encourage you to do the same):
Code
[ubb@server sandbox]# grep -r "php.ini" /home/sandbox/
/home/sandbox/libs/smarty/Smarty.class.php: * variables_order in php.ini E = Environment, G = GET, P = POST,
/home/sandbox/libs/smarty/Smarty.class.php: * no effect, but the php-ini-value "gpc_order"
/home/sandbox/libs/phpmailer/README:Copy class.phpmailer.php into your php.ini include_path. If you are
/home/sandbox/admin/dogroup_forumperms.php:// Get the max upload size in php.ini
/home/sandbox/admin/doforumperms.php:// Get the max upload size in php.ini
/home/sandbox/languages/english/admin/forumperms.php:$ubbt_lang['FILE_SIZE_1'] = "If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is <b>%%MAX_SIZE%%</b> so you may not exceed this size.";
/home/sandbox/languages/english/admin/forumperms.php:$ubbt_lang['GALLERY_SIZE_1'] = "If this forum is a gallery forum, this setting dictates how large each image may be. Max size set in php.ini is <b>%%MAX_SIZE%%</b>, so you may not exceed this size.";
/home/sandbox/languages/english/admin/primary.php:$ubbt_lang['SMTP_1'] = "Normally this is controlled by php.ini. However if you need to send mail through another SMTP server and cannot do this by editing php.ini, you can specify it here.";
/home/sandbox/ubbthreads.php:if (ini_get("zlib.output_compression")) $zlib = "Zlib compression enabled in php.ini";
/home/sandbox/install/LANGUAGE_CHANGES.txt:VERSION-7.4b1:CHANGED:FILE-admin/forumperms.php:KEY-$ubbt_lang['FILE_SIZE_1']:VALUE-"If file attachments are enabled in the forum, this dictates how large each file attachment can be. Max size set in php.ini is <b>%%MAX_SIZE%%</b> so you may not exceed this size.";
/home/sandbox/install/LANGUAGE_CHANGES.txt:VERSION-7.4b1:CHANGED:FILE-admin/forumperms.php:KEY-$ubbt_lang['GALLERY_SIZE_1']:VALUE-"If this forum is a gallery forum, this setting dictates how large each image may be. Max size set in php.ini is <b>%%MAX_SIZE%%</b>, so you may not exceed this size.";
/home/sandbox/install/LANGUAGE_CHANGES.txt:VERSION-7.1b1:NEW:FILE-admin/primary.php:KEY-$ubbt_lang['SMTP_1']:VALUE-"Normally this is controlled by php.ini. However if you need to send mail through another SMTP server and cannot do this by editing php.ini, you can specify it here.";
/home/sandbox/scripts/filemanager.inc.php: // Get the max upload size in php.ini
/home/sandbox/scripts/filemanager.inc.php: // No file size at all, exceeded php.ini setting
Problem only started after the update to V 5.7.9 and I clicked by mistake to "active" php,ini
As soon as I did that admin webpage then went blank, forum was not working and if going directly to admin URL could not log in as that page also blank and viewing source page showed totally blank
and any new post written was then erroring to a invalid path to a subdirectory called php.ini so it was making active that wrote something to a file, I did not and no such directory ever existed in languages until active was clicked by mistake
Does your language page of admin show like mine below ?
Nope, I only have the English line, and i don't have a php.ini folder in my languages folder either (only folders which exist in the languages folder should show in the editor).
Again, I would really like to see any paths that are listed in your config.inc.php file, and possibly the output of the first several lines in the file as well; I'm thing that something in the configuration file is awry.
Step one would be to remove the php.ini folder from your languages file, step two would be to consult any possible config debugging.
I think its a rouge file named php.ini as i used to zip up all my language files before an update, and i would always have languages.zip where you have your php.ini
Food for thought.
BOOM !! Version v7.6.1.1 People who inspire me IsaacME Gizmo
OK from the includes directory Minus the password and user names
Your config.ini has a few issues that stand out to me -
[*] the opening "<?php" is missing from your quote. Probably just a copy/paste thing? [*] dumpdir' => 'teamzr1.com//ubbthreadsubackup', -- There is an extra slash in your directory name. [*] 'SFS_KEY' => 'sm842', -- The key is too short. But you may have truncated it so as to not publicaly share it. [*] UPLOADED_AVATAR_PATH, UPLOADED_AVATAR_URL, SQL_LOG_PATH -- Paths are missing.
Minis those few items, the rest looks ok to me upon quick visual inspection of that config.ini file.
Mark also has posted a very good reason for why you might be seeing that additional language option listed. It is definitely not any part of the UBB.threads software, nor has it ever been a file ever included with any release of UBB.threads. My guess is that it was accidentally copped/moved (or on a GUI, dragged) from another location. If it was moved from another location, that may be the cause for some of your random problems. System configurations functioning as default/vanilla, rather than what your other server processes/programs were specifically configured to expect.
EDIT - Some hosts allow for one single php.ini file to control everything in the home directory and lower. Some hosts allow for separate php.ini files in each directory to control everything within that single directory and all the sub-dirs beneath it -- giving you the option to run different php.ini configurations at different levels.
A misconfigured server can over-zealously populate all the sub-dirs with multiple php.ini files, while others (from within the server's control panel) will automatically create a php.ini and insert one/each in to the directory that you tell it to.
Ultimately, I believe the issue may just be an accidental copy/paste or drag/drop. aka, user error.
I'd love to read how you got it all solved, when things are back up and running as you'd expect them to be. Its no fun to have this happen at all, but you're doing the right thing by asking a lot of questions and providing good feedback, and reading.