Open Source Services

Development Services and Products for Open Source e-Commerce Sites

 
Welcome, Guest
Please Login or Register.    Lost Password?

admin selecting a model number not working
(1 viewing) (1) Guest
Please log in or create an account to post your support query or comment.
Go to bottomPage: 12
TOPIC: admin selecting a model number not working
#96
admin selecting a model number not working 4 Years, 4 Months ago  
/admin/paps.php

When selecting a model number and then clicking select, the page just refreshes and nothing changes apart from the url is then set to ?action=get_paps.
But the page stays the same.

Please help
laskwarn
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#97
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Hi and thanks for your query.

First, you need to make sure that your product model number only contains a combination of any of the following characters - '1234567890' or '-'.

If it does, then I need to know a bit more info about the problem:

1) Have you already uploaded image files for this product, or is it the first time you are accessing it with PAPS?

2) Does the same problem occur if you select a product using its name?

Let me know the answers and I'll try to help you further.

Cheers

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#98
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Thanks for your reply,

I have tried this with a model number with the chars u suggested - still the same
It does the same thing if i am using the product name.
The products are already set up with 2 images, a thumb and a larger image.

I got to the problem by click on the left menu "Attribute Pictures";
i then choose a product name
i then click select
the page refreshes but nothing happens

Many thanks

Matt
laskwarn
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#99
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Hi there

The products are already set up with 2 images, a thumb and a larger image.

Did you use PAPS to 'upload' these files to the /paps directory? if not, how did you set them up?

regards

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#100
Re:admin selecting a model number not working 4 Years, 4 Months ago  
No I allready have products on my site.
I wanted to use the paps to be able to add different coloured products for certain products.

Was i correct in assuming that this can be done if you allready have products?
laskwarn
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#101
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Yes, it can be done, but only if you upload the image files via the PAPS upload section, which it appears you cannot access at the moment.

At this point, I assume that your /images/paps folder is fully read/writeable and contains no files. is that right?

also, when you say the products are already set up with 2 pictures, do you mean the default product picture(s) or pictures you intend to use with the PAPS system?
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
Last Edit: 2008/01/03 05:14 By hanuman.
The administrator has disabled public write access.
 
#102
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Yes it is fully writeable and contains no files.
I mean the default product pictures.
laskwarn
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#103
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Hi

Okay, I think this may be a PHP issue. If you are using PHP 5.x, take a look at your php.ini file. Find the setting 'register_long_arrays' and make sure it is set to 'On'.

Alternatively, if you are unable to make changes to your server's php.ini file, then backup your catalog/admin/paps.php file and replace all instances of '$HTTP_GET_VARS' (6 occurrences) with '$_GET' and all instances of '$HTTP_POST_VARS' (41 occurrences) with '$_POST'. This should be pretty straightforward using the 'Replace' functionality of your editor.

Hopefully this should sort the problem out. Let me know how you get on.

Cheers

Nick.
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
Last Edit: 2008/01/03 06:10 By hanuman.
The administrator has disabled public write access.
 
#104
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Hi,

I changed the php.ini file but it didnt fix the issue.
Any other ideas?
laskwarn
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#105
Re:admin selecting a model number not working 4 Years, 4 Months ago  
Hi

this one is getting interesting....

the problem seems to be that the model number isn't being sent back to the admin/paps.php page when you click 'select'. the '?action=get_paps' part of the URL is fine, however.

so now I need a bit more information.

- Your PHP version
- Your MySQL version
- Your oscMax version
- in php.ini, is 'register_globals' switched on or off?

P.S. when you changed 'register_long_arrays' in your php.ini file (see previous post), did you restart your server? perhaps you did, but if not, you will have to do this for the change to take effect.

Also, if you fancy doing some investigative work, add the following code to the bottom of your catalog/admin/application_top.php file just before the final '?>'

Code:


function px(&$arr, $arr_name)
{
 if (sizeof($arr))
 {
   print "---------- <br />";
   print $arr_name . "<br />";
 }

 foreach($arr as $key => $v)
 {
   print " ".$key." -> '".$v."'<br />";
 }
}

px($_GET, "GET"«»);
px($_POST, "POST"«»);



Now go to the PAPS admin page and select a product as usual from a dropdown menu. Then send me the output you see at the top of the page after the request is executed. You can then comment out/delete the code you put into catalog/admin/application_top.php.

Thanks.

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
Last Edit: 2008/01/03 16:03 By hanuman.
The administrator has disabled public write access.
 
Go to topPage: 12