Share this post

Link to post

Share on other sites

Installed the latest version of this today and get this message when I edit an Item:

'Session not registered - You cant access this page directly'

I saw this referenced earlier in this thread, but with no solution.

Cheers

Are you still having this problem?

Let me know. It shouldn't be happening, unless you are trying to directly access attributeManager.php - Please make sure you have followed every install step correctly.

in attributeManager.php i find where to fix the * Fixed non-latin charicters showing ??? :thumbsup:

This was in the old version:

// not strictly nessessary but output a header

header("Content-type: text/plain");

This is in new code to show norwegian ???, this you can also put inside ajax advansed search Contributions

// output a response header

header('Content-type: text/html; charset=ISO-8859-1');

Put this inside to fix the ??? problem, in attributeManager.php , quickfind.php or quickbox :

// output a response header

header('Content-type: text/html; charset=ISO-8859-1');

Thats right, you have to force the charset to utf-8. If you are parsing non latin charicters from javascript to the server you will also need to add setRequestHeader("Content-Type", "text/html; charset=ISO-8859-1"); to the request object.

I think my page freezing may be down to these two not working together correctly as I also use html area.

Where do I add the code your talking about to make the two work together correctly?

Im using version 1.7 of AJAX Attribute Manager

I haven't used the new version of htmlarea - the place i was reffering to is in attributeManager/includes/attributeManagerHeader.inc.php - anything that was previously called within the body onload will have to be called in there instead. Let me know how you get on with this.

If there is going to be a sort option feature in the next version then I'm going to open a big bottle of Champagne! Really would like to see this option

Yes there will be in the next propper release. Its part done, just need to finish it off.

Edited March 9, 2006 by Nimmit

Knowledge is knowing that a tomato is a fruit, wisdom is not putting one in a fruit salad :D

Share this post

Link to post

Share on other sites

I haven't used the new version of htmlarea - the place i was reffering to is in attributeManager/includes/attributeManagerHeader.inc.php - anything that was previously called within the body onload will have to be called in there instead. Let me know how you get on with this.

Share this post

Link to post

Share on other sites

I think its much problem to only update 1 attributes price each time, if i have a attributes with many values and create a new products with same attributes its very much work to write all price again, and in attributeManager.php can only update 1 price each update, that is problem. I try change this ( onChange="return amUpdate) in attributeManager.php to (onmouseout="return amUpdate) but then it update to wrong values/attrributes. when use ( onChange="return amUpdate) i can only change 1 price then can not get to next price before update site.

I want to write all attributes price in attributeManager.php then update all. not 1 and 1, this take to long time, since i must update for each price change.

Share this post

Link to post

Share on other sites

I think its much problem to only update 1 attributes price each time, if i have a attributes with many values and create a new products with same attributes its very much work to write all price again, and in attributeManager.php can only update 1 price each update, that is problem. I try change this ( onChange="return amUpdate) in attributeManager.php to (onmouseout="return amUpdate) but then it update to wrong values/attrributes. when use ( onChange="return amUpdate) i can only change 1 price then can not get to next price before update site.

I want to write all attributes price in attributeManager.php then update all. not 1 and 1, this take to long time, since i must update for each price change.

How to cange this??

Andre :-"

I dont know what you are going on about, can you please try and write in clearer english. It updates the price on each attribute when you go away from that text field. so once you have setup your attributes you can just go down them all very quickly.

Do you mean that you would like the price brought over in the templates?

Share this post

Link to post

Share on other sites

When i click inside a price box and change price, i can not move to next price field before i refresh page in IE. If i not change price i can move to next field without problem. Is this a bug only with me? it be like this in first version of attributemanger to. What can be wrong?

Share this post

Link to post

Share on other sites

Now i try the same price update with OPERA browser, not IE. Then the price update work good, what can the problem be since it will not work with Internet explorer, i have try with 5 different computers with IE, but price update not work. Must i change to OPERA browser? :o

Share this post

Link to post

Share on other sites

Warning: main(attributeManager/classes/DB.class.php): failed to open stream: No such file or directory in /home/sites/xxxx/public_html/admin/attributeManager/includes/attributeManagerUpdateAtomic.inc.php on line 16

Please be patient. I am not able to replicate this problem which means it must be platform specific. I susspect it is todo with the way in which the php require_once works. Becuase of where the different files are used they all need access to the db class, i was under the impression (and have been using it in this way since php4) that require_once would take care of the duplication of includes. But it appears that php is seeing the from different include paths and as such is treating them as different files.

I know how to sort it out, but I am not happy with releasing so many versions so quickly. i am not releasing another version untill i can take some time to go over the whole contribution.

The reason i have been uploading so many versions is I have found from experence that if i do not do so people will start fixing the bugs and uploading them. The problem with this is that then several versions start running and people overwrite each others 'fixes', it gets very confusing!

I have a few more features i need finish off then i will release version 1 - then people can do what they like. I hope everyone understands what im going on about here.

FreeLancer i will get to your query. Bloating the thread with repeats doesn't help anyone. This is free software so unfortunatly some times you have to be patient.

Edited March 10, 2006 by Nimmit

Knowledge is knowing that a tomato is a fruit, wisdom is not putting one in a fruit salad :D

Share this post

Link to post

Share on other sites

I have now installed More_Pics_6 for 2.2 ms2 and AJAX has dissapeared apart from some background colour in the products screen

The attributes for the products are still there. Even if I do a new product there is nothing there on screen. I have looked at the code comparing current files versus pre More_Pics_6 for 2.2 ms2 files and as far as I can see there are no conflicts. However reality says different so I must be wrong!

Please can you give me some advice as to where to start looking for the problem