Why wamp localhost keeps showing me notices? - php

I had problems with localhost in wampserver when, I accidentally deleted the wamplangues folder.
I download it from here https://github.com/phlyper/wamp-conf/tree/master/wamp/www/wamplangues
but it's keeps showing me errors like:
Notice: Undefined index: versmaria in C:\wamp64\www\index.php on line
275 Notice: Undefined index: mariaportUsed in C:\wamp64\www\index.php
on line 276 Undefined index: docmaria in C:\wamp64\www\index.php on
line 276
I searched in the index.php file and I saw that this is related to the langues folder... do you have any ideas about that? I'm stucked!

Related

Notice: Undefined index: host in White Screen of Death

I have tested plugins & checked PHP versions. So far I've not been able to fix the issue(s):
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 461
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 462
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 462
Notice: Undefined index: scheme in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 482
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 461
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 461
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 463
Notice: Undefined index: host in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 465
Notice: Undefined index: scheme in /home/f2drufxgri7b/public_html/wp-includes/canonical.php on line 482
I finally fixed it by Updating the Wordpress manually and using PHP 5.6 to access the WPAdmin. Later I updated to latest PHP version and updated all Plugins from WP Admin.
It seems that the error was due to PHP, Wordpress and Plugins Updates wish created the WhiteScreen of Death.
I stronlgly reccomend Updating PHP and Wordpress versions before migrating the website.

WordPress "Notice: Undefined index: host" after initial setup running locally on linux

I'm trying to set up WordPress on my laptop running Kali Linux. Everything works until I install WordPress and the theme I am using. I'm trying to use roots sage on bedrock. But after I get through the installation process I get a notice in the admin:
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2937
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2937
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
And in the frontend:
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
Notice: Undefined index: host in /var/www/html/site/web/wp/wp-includes/theme.php on line 2999
Can anyone explain why I'm getting these notices? I must have missed something but I've gone through the instructions several times and I'm out of ideas. Thanks
You can define WP_HOME & WP_SITEURL in wp-config.php
define('WP_HOME','http://localhost/project_folder_name');
define('WP_SITEURL','http://localhost/project_folder_name');
This can also be caused by an error with the siteurl and home options in wp_options table.
Make sure the url's have a host as well, http://example.com not just example.com.
I just now came across this and for me, switching back from PHP 8.x.x to PHP 7.x.x resolved the issue.

trouble installing vtiger crm 6.4.0 on xampp

I have downloaded Vtiger CRM from https://sourceforge.net/projects/vtigercrm.
After downloading, I tried to install in my localhost XAMPP server.
I extracted the tar.gz file.
I couldn't find any database file inside the folder
While I ran the vtiger crm folder in localhost, many errors are coming. No installation page appears.
These are the error messages. Which settings to change in my XAMPP server can somebody tell.
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 17
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 18
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 19
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 20
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 21
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 22
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 23
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 24
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 25
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 26
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 27
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 28
Notice: Undefined variable: mod_strings in C:\xampp\htdocs\vtigercrm\modules\CustomView\CustomView.php on line 29
Notice: Undefined index: authenticated_user_id in C:\xampp\htdocs\vtigercrm\includes\main\WebUI.php on line 44
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: current_language in C:\xampp\htdocs\vtigercrm\includes\runtime\Globals.php on line 21
Notice: Undefined property: Install_Index_view::$viewer in C:\xampp\htdocs\vtigercrm\includes\runtime\Controller.php on line 117
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: theme in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Installation Wizard
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Welcome
Help-Icon
Vtiger Logo
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Welcome to Vtiger CRM 6 Setup Wizard
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
This wizard will guide you through the installation of Vtiger CRM6
<br /><b>Notice</b>: Undefined index: language in <b>C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php</b> on line <b>31</b><br /><br /><b>Notice</b>: Undefined index: action in <b>C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php</b> on line <b>670</b><br /><br /><b>Notice</b>: Undefined index: file in <b>C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php</b> on line <b>670</b><br />Install
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: in C:\xampp\htdocs\vtigercrm\includes\runtime\LanguageHandler.php on line 157
Powered by vtiger CRM 6.4.0 © 2004 - 2016 vtiger.com |
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: in C:\xampp\htdocs\vtigercrm\includes\runtime\LanguageHandler.php on line 157
Read License |
Notice: Undefined index: language in C:\xampp\htdocs\vtigercrm\includes\runtime\BaseModel.php on line 31
Notice: Undefined index: action in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: file in C:\xampp\htdocs\vtigercrm\include\utils\ListViewUtils.php on line 670
Notice: Undefined index: in C:\xampp\htdocs\vtigercrm\includes\runtime\LanguageHandler.php on line 157
To disable this error message just add one line in top of index.php file and run again CRM to install it.
error_reporting(0);
After successful installation you can remove that line.
Did you check the prerequisites are met?
MYSQL Requirements
Please make sure to review MySQL configuration (my.cnf or server start parameters)
SQL_MODE Should not have STRICT_TRANS_TABLE
ENGINE=InnoDB Should be available. (Turn off –skip-innodb)
PHP Extensions
Following extensions should be enabled for your PHP setup
GD Mandatory Charts and graphs generation are dependent on this library.
IMAP Mandatory Webmails Module is dependent on this library.
Zlib Mandatory
OpenSSL Optional Imap with OpenSSL should be enabled in case Mail server needs to be connected via SSL
Curl Optional
After installing XAMPP stop all services and using notepad configure PHP.ini (inside php folder xampp installation) with the following values:
PHP Configuration
Make sure to verify if your PHP configuration meets the recommended values.
Variable Value
allow_call_time_pass_reference on
error_reporting E_WARNING & ~E_NOTICE & ~E_DEPRECATED
safe_mode off
display_errors on
file_uploads on
max_execution_time 600
memory_limit 64M
log_errors off
output_buffering on
short_open_tag On
allow_call_time_pass_reference on
register_globals off
You should also check the permissions of files.
Regards
These are just warning and notices so search in your php.ini file in xampp->php->php.ini for error_reporting=On and turn it off as error_reporting=Off. Then restart your xampp server and once restart your system also. Then try hope it will work . The same problem i had and i solved it in above way.
in php.ini error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

SMF - Upgrading 1-19 to 2-7 (upgrade.php)

i decided to move my 1.1.19 to 2.07 and move to new directory.
but i couldn't upgrade my forum correctly. because:
repair_settings.php - (in bottom of page we got some error)
Notice: Undefined index: database_error in
/homepages/5/d394578306/htdocs/ResidentEvil/Sources/Subs-Db-mysql.php
on line 572
Fatal error: Call to undefined function allowedTo() in
/homepages/5/d394578306/htdocs/ResidentEvil/Sources/Subs-Db-mysql.php
on line 573
Upgrade.php - (we have many error on this page)
Notice: Undefined index: upgrade_progress in
/homepages/5/d394578306/htdocs/ResidentEvil/upgrade.php on line 3488
same error but on different lines.
Seems you're missing some files. Reupload all the Sources dir and the upgrade files with a software like WinSCP. Avoid FileZilla.

How to get the Ansinerator library to work?

I'm trying to get the Ansinerator library to work my on my localhost, but something's amiss.
I'm receiving the following errors:
Notice: Undefined index: hash in ansi.php on line 23 Notice: Undefined index: aml in ansi.php on line 37 Notice: Undefined variable: PNG_DESTRUCT in ansi.php on line 119 Notice: Undefined offset: -1 in ansi.php on line 362 Notice: Trying to get property of non-object in ansi.php on line 362 Notice: Undefined variable: links in ansi.php on line 459 Notice: Trying to get property of non-object in ansi.php on line 677 Notice: Undefined variable: links in ansi.php on line 459 Notice: Undefined variable: map_link in ansi.php on line 687
Any idea where am I going wrong with this one? I've installed the php-gd library, restarted the server, and while runs perfectly on production server, localhost will refuse. Ideas?
Thank you.
Check
- That you've got 'proper' versions of everything installed on localhost. (Compare localhost with production.) There's obviously something different between the 2 servers here, just use phpinfo() to check.
Restart localhost again? (Just kidding...)
Is it possible that you have set different error reporting levels on both servers?
Before anything, put error_reporting(E_ALL); at the top of your script on both servers and see if it runs perfectly. (My guess is you will get errors on both servers)

Categories