https://www.icyphoenix.com/viewtopic.php?f=35&t=8675
-----------------------------------
dinoyoco
Thu 06 Sep, 2012 15:18

Bug Add Uploaded Images To DB
-----------------------------------
Hi again

I have found other bug.

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

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[/quote]

[b]$cache[/b] is not working
[code]				if (($all_pics_array = $cache->get('_uploaded_images')) === false)[/code]

Bye


-----------------------------------
Joshua203
Thu 06 Sep, 2012 16:44

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 [url=http://www.icyphoenix.com/docs/readme_english.html#fresh_installation]Fresh Installation


-----------------------------------
dinoyoco
Thu 06 Sep, 2012 17:27

Re: Bug Add Uploaded Images To DB
-----------------------------------
Yes i know it. The question is if you [u]use[/u] "BYPASS_SESSION",
[code]define('BYPASS_SESSION', true);[/code]

you will get the error. But if you [u]don't use[/u] "BYPASS_SESSION",
[code]//define('BYPASS_SESSION', true);[/code]

you will not get the error.

Bye


-----------------------------------
Mighty Gorgon
Tue 11 Sep, 2012 00:07

Re: Bug Add Uploaded Images To DB
-----------------------------------
Can you try this?

OPEN [b]install/common.php[/b]
FIND
[codeblock]	include(IP_ROOT_PATH . 'includes/utf/utf_tools.' . PHP_EXT);[/codeblock]
AFTER ADD
[codeblock]	include(IP_ROOT_PATH . 'includes/class_cache.' . PHP_EXT);
	include(IP_ROOT_PATH . 'includes/class_cache_extends.' . PHP_EXT);
	$cache = new ip_cache();[/codeblock]


-----------------------------------
dinoyoco
Fri 14 Sep, 2012 11:44

Re: Bug Add Uploaded Images To DB
-----------------------------------
Thanks, now it works.

Bye


-----------------------------------
Mighty Gorgon
Sat 15 Sep, 2012 11:50

Re: Bug Add Uploaded Images To DB
-----------------------------------
Great... I have amended it.

Thanks for reporting.


