Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post When I Will Look At A Profile It Will Not Work 
 
Hey!

I have installed the newest Version of Icy Phoenix.
When I will look a second time at a profile, it will not work.
I get an error:

Spoiler: [ Show ]


The first time it will work! But the second not
I have PHP 5 and MySQL 5.

Thank you and sorry for my bad english
 



 
StammiSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
That happens when:

Being on a profile page and you refresh.
When you acess to a profile twice while not being on */viewprofile.php?*
Other situation.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
hmm, sorry, but I don't understand that  

What is the solution of this problem?
 



 
StammiSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
novice programmer wrote: [View Post]
That happens when:

Being on a profile page and you refresh.
When you acess to a profile twice while not being on */viewprofile.php?*
Other situation.


That is clearly a bug, so I am tring to get all the info to solve it more quickly. Other sites will request you for logs, phpinfo() and so many complicated things, so I think you can say me what situation of above were you (in a profile, out of it,...) when the error appered.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
i had the same problem if the portal is new you could view the profile once time if you klick a secound time on the same profil this error comes, but if you clear the cache the problem is gone and you could view the profil as often you want.
 



 
Sascha833Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
IMHO, I think your hosting had corrupted the file mentioned on the error. Re-upload it and set correctly CHMOD.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
novice programmer wrote: [View Post]
IMHO, I think your hosting had corrupted the file mentioned on the error. Re-upload it and set correctly CHMOD.

Hmmm i tryed this it wont work:( what else can i try?
 



 
Sascha833Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
if define('CACHE_SQL', false) is set to false and the cache is deaktivated it works so i think there is a problem with the cache
 



 
Sascha833Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: When I Will Look At A Profile It Will Not Work 
 
It looks me like a bug. Tagging...

I will move into the bug section. Please keep a back-up of all your files.
 



 
novice programmerSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: BUG - When I Will Look At A Profile It Will Not Work 
 
Can you try to replace that function with this one please?

Code: [Download] [Hide] [Select]
function create_property($property_name, $property_value)
{
    global $db;

    /* Add a new group to the groups table using the admin retrieved above */
    $sql = "INSERT INTO . " . CONFIG_TABLE . "(config_name, config_value) VALUES ('" . $property_name . "', '" . $property_value . "')";
    //$sql = "UPDATE . " . CONFIG_TABLE . " SET config_value = '" . $property_value . "' WHERE config_name = '" . $property_name . "'";

    if(!$db->sql_query($sql))
    {
        message_die(GENERAL_ERROR, "Function create_property(): Failed to insert $property_name property into " . CONFIG_TABLE, "", __LINE__, __FILE__, $sql);
    }

    $db->clear_cache('config_');
    return true;
}


Then empty the cache and try again please?

Thanks.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron