Jump to content

Field name translations - white empty page


Recommended Posts

Hello,

when I try to translate the field name translations I got a white and empty page.

After enabling development mode I can see this error:

Fatal error: require() [function.require]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/jkdfma/public_html/classes/PrestaShopAutoload.php on line 122

I contacted my hosting providers and they told me that I have a lot of errors like:

22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248
[22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248
[22-Apr-2014 17:37:29] PHP Notice: Undefined index: available_later in /home3/jkdfma/public_html/cache/smarty/compile/b5/34/f9/b534f9196aee8f1a3b2936322ce4276182ac55ce.file.product-list.tpl.cache.php on line 248
[22-Apr-2014 19:06:06] PHP Fatal error: Uncaught Lost connection to MySQL server during query<br /><br /><pre>SELECT *
FROM `ps_shop_group` a
WHERE (a.id_shop_group = 1)
LIMIT 1</pre>
thrown in /home3/jkdfma/public_html/classes/db/Db.php on line 635
[22-Apr-2014 12:06:08] PHP Fatal error: Uncaught Lost connection to MySQL server during query<br /><br /><pre>SELECT *
FROM `ps_country` a
LEFT JOIN `ps_country_lang` `b` ON a.id_country = b.id_country AND b.id_lang = 4
LEFT JOIN `ps_country_shop` `c` ON a.id_country = c.id_country AND c.id_shop = 1
WHERE (a.id_country = 193)
LIMIT 1</pre>
thrown in /home3/jkdfma/public_html/classes/db/Db.php on line 635

They recommend contacting a web developer or the developers of PrestShop regarding these erorrs and correct them before moving forward. They did look at a system trace of the error to provide it to the PrestaShop developers:

12:13:59 read(4, "tion($name)\n\t{\n\t\treturn preg_replace('/^[0-9]+\\./', '', $name);\n\t}\n\n\t/**\n\t * This method is allow to know if a feature is used or active\n\t * @since 1.5.0.1\n\t * @return bool\n\t */\n\tpublic static function isFeatureActive()\n\t{\n\t\treturn Configuration::get('PS_SCENE_FEATURE_ACTIVE');\n\t}\n}", 8192) = 283
12:13:59 read(4, "", 4096) = 0
12:13:59 read(4, "", 8192) = 0
12:13:59 read(4, "", 8192) = 0
12:13:59 close(4) = 0
12:13:59 munmap(0x7fd020647000, 4096) = 0
12:13:59 stat("/home3/jkdfma/public_html/classes/SearchEngine.php", {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0
12:13:59 open("/home3/jkdfma/public_html/classes/SearchEngine.php", O_RDONLY) = 4
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0
12:13:59 mmap(NULL, 2299, PROT_READ, MAP_SHARED, 4, 0) = 0x7fd020640000
12:13:59 munmap(0x7fd020640000, 2299) = 0
12:13:59 close(4) = 0
12:13:59 time(NULL) = 1398186839
12:13:59 lstat("/home3", {st_dev=makedev(8, 33), st_ino=2, st_mode=S_IFDIR|0711, st_nlink=337, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=24, st_size=12288, st_atime=2014/04/18-09:54:14, st_mtime=2014/04/22-12:10:01, st_ctime=2014/04/22-12:10:01}) = 0
12:13:59 lstat("/home3/jkdfma", {st_dev=makedev(8, 33), st_ino=92012545, st_mode=S_IFDIR|0711, st_nlink=20, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/21-22:00:18, st_mtime=2014/04/22-04:51:21, st_ctime=2014/04/22-04:51:21}) = 0
12:13:59 lstat("/home3/jkdfma/public_html", {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0
12:13:59 lstat("/home3/jkdfma/public_html/classes", {st_dev=makedev(8, 33), st_ino=92017727, st_mode=S_IFDIR|0755, st_nlink=17, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-03:36:08, st_mtime=2014/04/21-22:08:58, st_ctime=2014/04/21-22:08:58}) = 0
12:13:59 lstat("/home3/jkdfma/public_html/classes/SearchEngine.php", {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0
12:13:59 open("/home3/jkdfma/public_html/classes/SearchEngine.php", O_RDONLY) = 4
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0
12:13:59 fcntl(4, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017966, st_mode=S_IFREG|0644, st_nlink=1, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=2299, st_atime=2014/04/22-11:13:02, st_mtime=2014/04/19-10:20:25, st_ctime=2014/04/19-10:20:25}) = 0
12:13:59 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd020647000
12:13:59 lseek(4, 0, SEEK_CUR) = 0
12:13:59 lseek(4, 0, SEEK_SET) = 0
12:13:59 read(4, "<?php\n/*\n* 2007-2014 PrestaShop\n*\n* NOTICE OF LICENSE\n*\n* This source file is subject to the Open Software License (OSL 3.0)\n* that is bundled with this package in the file LICENSE.txt.\n* It is also available through the world-wide-web at this URL:\n* http://opensource.org/licenses/osl-3.0.php\n*'>http://opensource.org/licenses/osl-3.0.php\n* If you did not receive a copy of the license and are unable to\n* obtain it through the world-wide-web, please send an email\n* to [email protected] so we can send you a copy immediately.\n*\n* DISCLAIMER\n*\n* Do not edit or add to this file if you wish to upgrade PrestaShop to newer\n* versions in the future. If you wish to customize PrestaShop for your\n* needs please refer to http://www.prestashop.com for more information.\n*\n* @author PrestaShop SA <[email protected]>\n* @copyright 2007-2014 PrestaShop SA\n* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)\n* International Registered T rademark & Property of PrestaShop SA\n*/\n\nclass SearchEngineCore extends ObjectModel\n{\n\tpublic $server;\n\tpublic $getvar;\n\n\t/**\n\t * @see ObjectModel::$definition\n\t */\n\tpublic static $definition = array(\n\t\t'table' => 'search_engine',\n\t\t'primary' => 'id_search_engine',\n\t\t'fields' => array(\n\t\t\t'server' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl', 'required' => true),\n\t\t\t'getvar' => array('type' => self::TYPE_STRING, 'validate' => 'isModuleName', 'required' => true),\n\t\t),\n\t);\n\n\tpublic static function getKeywords($url)\n\t{\n\t\t$parsed_url = @parse_url($url);\n\t\tif (!isset($parsed_url['host']) || !isset($parsed_url['query']))\n\t\t\treturn false;\n\t\t$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT `server`, `getvar` FROM `'. _DB_PREFIX_.'search_engine`');\n\t\tforeach ($result as $row)\n\t\t{\n\t\t\t$host =& $row['server'];\n\t\t\t$varname =& $row['getvar'];\n\t\t\tif (strstr($parsed_url['host'], $host))\n\t\t\t{\n\t\t\t\t$array = array();\n\t\t\t\tpreg_match('/[^a-z]'.$varname.'=.+\\&/U', $parsed_url['query'], $array);\n\t\t\t\tif (empty($array[0]))\n\t\t\t\t\tpreg_match('/[^a-z]'.$varname.'=.+$/', $parsed_url['query'], $array);\n\t\t\t\tif (empty($array[0]))\n\t\t\t\t\treturn false;\n\t\t\t\t$str = urldecode(str_replace('+', ' ', ltrim(substr(rtrim($array[0], '&'), strlen($varname) + 1), '=')));\n\t\t\t\tif (!Validate::isMessage($str))\n\t\t\t\t\treturn false;\t\t\t\t\n\t\t\t\treturn $str;\n\t\t\t}\n\t\t}\n\t}\n}\n\n\n", 4096) = 2299
12:13:59 lseek(4, 2299, SEEK_SET) = 2299
12:13:59 read(4, "", 4096) = 0
12:13:59 read(4, "", 8192) = 0
12:13:59 brk(0x414c000) = 0x414c000
12:13:59 read(4, "", 8192) = 0
12:13:59 close(4) = 0
12:13:59 munmap(0x7fd020647000, 4096) = 0
12:13:59 open("/home3/jkdfma/public_html/", O_RDONLY) = 4
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0
12:13:59 mmap(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0) = -1 ENODEV (No such device)
12:13:59 close(4) = 0
12:13:59 time(NULL) = 1398186839
12:13:59 lstat("/home3", {st_dev=makedev(8, 33), st_ino=2, st_mode=S_IFDIR|0711, st_nlink=337, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=24, st_size=12288, st_atime=2014/04/18-09:54:14, st_mtime=2014/04/22-12:10:01, st_ctime=2014/04/22-12:10:01}) = 0
12:13:59 lstat("/home3/jkdfma", {st_dev=makedev(8, 33), st_ino=92012545, st_mode=S_IFDIR|0711, st_nlink=20, st_uid=33004, st_gid=33006, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/21-22:00:18, st_mtime=2014/04/22-04:51:21, st_ctime=2014/04/22-04:51:21}) = 0
12:13:59 lstat("/home3/jkdfma/public_html", {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0
12:13:59 open("/home3/jkdfma/public_html", O_RDONLY) = 4
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0
12:13:59 close(4) = 0
12:13:59 time(NULL) = 1398186839
12:13:59 open("/home3/jkdfma/public_html", O_RDONLY) = 4
12:13:59 fstat(4, {st_dev=makedev(8, 33), st_ino=92017695, st_mode=S_IFDIR|0750, st_nlink=26, st_uid=33004, st_gid=99, st_blksize=4096, st_blocks=8, st_size=4096, st_atime=2014/04/22-12:13:13, st_mtime=2014/04/22-12:13:31, st_ctime=2014/04/22-12:13:31}) = 0
12:13:59 close(4) = 0
12:13:59 open("error_log", O_WRONLY|O_CREAT|O_APPEND, 0644) = 4
12:13:59 time([1398186839]) = 1398186839
12:13:59 write(4, "[22-Apr-2014 19:13:59] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/jkdfma/public_html/classes/PrestaShopAutoload.php on line 122\n", 278) = 278
12:13:59 close(4) = 0
12:13:59 write(1, "Content-Type: text/html; charset=utf-8", 38) = 38
12:13:59 write(1, "\r\n", 2) = 2
12:13:59 write(1, "\r\n", 2) = 2
12:13:59 write(1, "<br />\n<b>Fatal error</b>: require() [<a href='function.require'>function.require</a>]: Failed opening required '/home3/jkdfma/public_html/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/home3/jkdfma/public_html/classes/PrestaShopAutoload.php</b> on line <b>122</b><br />\n", 285) = 285
12:13:59 write(3, "\1\0\0\0\1", 5) = 5

Link to comment
Share on other sites

  • 10 months later...
  • 1 year later...
×
×
  • Create New...