Bug Add Uploaded Images To DB »  Show posts from    to     

Icy Phoenix


Old Support Topics - Bug Add Uploaded Images To DB



dinoyoco [ Thu 06 Sep, 2012 15:18 ]
Post subject: Bug Add Uploaded Images To DB
Hi again

I have found other bug.

File: install/install.php
Code: [Hide]
  1. // If you decomment this line, then you will be able to use this file without sessions handling in latest Icy Phoenix 
  2. //define('BYPASS_SESSION', true); 


If you use this option, you get this error
Quote:
PHP Fatal error: Call to a member function get() on a non-object in XXXXXXXXXX/foro.lapandadelcentollo.com/install/includes/functions_install.php on line 2747


$cache is not working
Code: [Hide]
  1. if (($all_pics_array = $cache->get('_uploaded_images')) === false) 


Bye


Joshua203 [ Thu 06 Sep, 2012 16:44 ]
Post subject: Re: Bug Add Uploaded Images To DB
Hi dinoyoco,

I'm only guessing here but did you:

a. Rename the files/posted_images folder to files/images
b. Apply all permissions listed in Fresh Installation


dinoyoco [ Thu 06 Sep, 2012 17:27 ]
Post subject: Re: Bug Add Uploaded Images To DB
Yes i know it. The question is if you use "BYPASS_SESSION",
Code: [Hide]
  1. define('BYPASS_SESSION', true); 


you will get the error. But if you don't use "BYPASS_SESSION",
Code: [Hide]
  1. //define('BYPASS_SESSION', true); 


you will not get the error.

Bye


Mighty Gorgon [ Tue 11 Sep, 2012 00:07 ]
Post subject: Re: Bug Add Uploaded Images To DB
Can you try this?

OPEN install/common.php
FIND
Code: [Hide] [Select]
include(IP_ROOT_PATH . 'includes/utf/utf_tools.' . PHP_EXT);

AFTER ADD
Code: [Hide] [Select]
include(IP_ROOT_PATH . 'includes/class_cache.' . PHP_EXT);
include(IP_ROOT_PATH . 'includes/class_cache_extends.' . PHP_EXT);
$cache = new ip_cache();


dinoyoco [ Fri 14 Sep, 2012 11:44 ]
Post subject: Re: Bug Add Uploaded Images To DB
Thanks, now it works.

Bye


Mighty Gorgon [ Sat 15 Sep, 2012 11:50 ]
Post subject: Re: Bug Add Uploaded Images To DB
Great... I have amended it.

Thanks for reporting.




Powered by Icy Phoenix