A PHP Error was encountered

Severity: Warning

Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 228

Call stack:

  1. /var/local/www/skyraise/lib/codeigniter/database/drivers/mysql/mysql_driver.php:228 in mysql_real_escape_string
  2. /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php:605 in CI_DB_mysql_driver->escape_str
  3. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:224 in CI_DB_driver->escape
  4. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:172 in CI_DB_active_record->_where
  5. /var/local/www/skyraise/export/codeigniter-app/libraries/Profilepages.php:77 in CI_DB_active_record->where
  6. /var/local/www/skyraise/export/codeigniter-app/controllers/profile.php:34 in ProfilePages->getAccountData
  7. : in Profile->index
  8. /var/local/www/skyraise/lib/codeigniter/codeigniter/CodeIgniter.php:216 in call_user_func_array
  9. /var/local/www/skyraise/export/doc-root/index.php:94 in require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_real_escape_string() expects parameter 2 to be resource, boolean given

Filename: mysql/mysql_driver.php

Line Number: 228

Call stack:

  1. /var/local/www/skyraise/lib/codeigniter/database/drivers/mysql/mysql_driver.php:228 in mysql_real_escape_string
  2. /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php:605 in CI_DB_mysql_driver->escape_str
  3. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:224 in CI_DB_driver->escape
  4. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:190 in CI_DB_active_record->_where
  5. /var/local/www/skyraise/export/codeigniter-app/libraries/Profilepages.php:78 in CI_DB_active_record->orwhere
  6. /var/local/www/skyraise/export/codeigniter-app/controllers/profile.php:34 in ProfilePages->getAccountData
  7. : in Profile->index
  8. /var/local/www/skyraise/lib/codeigniter/codeigniter/CodeIgniter.php:216 in call_user_func_array
  9. /var/local/www/skyraise/export/doc-root/index.php:94 in require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_errno(): supplied argument is not a valid MySQL-Link resource

Filename: mysql/mysql_driver.php

Line Number: 362

Call stack:

  1. /var/local/www/skyraise/lib/codeigniter/database/drivers/mysql/mysql_driver.php:362 in mysql_errno
  2. /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php:289 in CI_DB_mysql_driver->_error_number
  3. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:504 in CI_DB_driver->query
  4. /var/local/www/skyraise/export/codeigniter-app/libraries/Profilepages.php:82 in CI_DB_active_record->get
  5. /var/local/www/skyraise/export/codeigniter-app/controllers/profile.php:34 in ProfilePages->getAccountData
  6. : in Profile->index
  7. /var/local/www/skyraise/lib/codeigniter/codeigniter/CodeIgniter.php:216 in call_user_func_array
  8. /var/local/www/skyraise/export/doc-root/index.php:94 in require_once

A PHP Error was encountered

Severity: Warning

Message: mysql_error(): supplied argument is not a valid MySQL-Link resource

Filename: mysql/mysql_driver.php

Line Number: 349

Call stack:

  1. /var/local/www/skyraise/lib/codeigniter/database/drivers/mysql/mysql_driver.php:349 in mysql_error
  2. /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php:289 in CI_DB_mysql_driver->_error_message
  3. /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php:504 in CI_DB_driver->query
  4. /var/local/www/skyraise/export/codeigniter-app/libraries/Profilepages.php:82 in CI_DB_active_record->get
  5. /var/local/www/skyraise/export/codeigniter-app/controllers/profile.php:34 in ProfilePages->getAccountData
  6. : in Profile->index
  7. /var/local/www/skyraise/lib/codeigniter/codeigniter/CodeIgniter.php:216 in call_user_func_array
  8. /var/local/www/skyraise/export/doc-root/index.php:94 in require_once


Fatal error: Uncaught exception 'DBException' in /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php:289 Stack trace: #0 /var/local/www/skyraise/lib/codeigniter/database/DB_active_rec.php(504): CI_DB_driver->query('SELECT id, type...') #1 /var/local/www/skyraise/export/codeigniter-app/libraries/Profilepages.php(82): CI_DB_active_record->get('accounts') #2 /var/local/www/skyraise/export/codeigniter-app/controllers/profile.php(34): ProfilePages->getAccountData('duso') #3 [internal function]: Profile->index('duso') #4 /var/local/www/skyraise/lib/codeigniter/codeigniter/CodeIgniter.php(216): call_user_func_array(Array, Array) #5 /var/local/www/skyraise/export/doc-root/index.php(94): require_once('/var/local/www/...') #6 {main} sql: SELECT id, type, status, login, url, uid, srid FROM accounts WHERE uid like '' OR url like '' thrown in /var/local/www/skyraise/lib/codeigniter/database/DB_driver.php on line 289