Guest Posted September 3, 2005 Share Posted September 3, 2005 my products_attributes file is all messed up. for some reason i have 2 files of it and i can't delete both, only one. And once i delete one the other one won't open up. How do i fix this? Or an someone just give me the code to it? Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 you can download osCommerce and then use the original file from there. Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 you can download osCommerce and then use the original file from there. <{POST_SNAPBACK}> HEADING_TITLE_OPT TEXT_OPTION_IDTEXT_OPTION_NAME Warning: Division by zero in /home/punkit07/public_html/admin/products_attributes.php on line 283 >> TABLE_HEADING_ID TABLE_HEADING_OPT_NAME TABLE_HEADING_ACTION 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX_ROW_LISTS_OPTIONS' at line 1 select * from products_options where language_id = '1' order by products_options_id LIMIT 0, MAX_ROW_LISTS_OPTIONS [TEP STOP] I tried that but it still comes up with the error above when i go to the product attributes in admin. How do i fix it? Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 Check all your files are uploaded properly, looks like it might be missing another file Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 Check all your files are uploaded properly, looks like it might be missing another file Iklekid <{POST_SNAPBACK}> like what file could it be missing? It looks like everything is uploaded correctly but im not sure. Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 Check the files in admin/includes/ Might be one in there Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 Check the files in admin/includes/ Might be one in there Iklekid <{POST_SNAPBACK}> nope....i don't see one missing. How would i knoe if one is missing? Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 Not necessarily missing just not uploaded completely. Re-upload all of the files again with overwrite select yes If not PM me ur ftp details and Ill have a look for you Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 Not necessarily missing just not uploaded completely.? Re-upload all of the files again with overwrite select yes If not PM me ur ftp details and Ill have a look for you Iklekid <{POST_SNAPBACK}> actually i just compared mine to the original oscommerce download....and i have 2 products_attributes.php in mine where as the original only has 1. But if i delete one of them from mine, then the other one is corrupt somehow and wont't open and i cannot delete it for some reason. I don't know....do you know how to delete both of them? Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 send me ur ftp details and I will take a look if you want Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 send me ur ftp details and I will take a look if you want Iklekid <{POST_SNAPBACK}> How do i do that? Do you want me to just paste you my products_attributes.php code? Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 ummm..no that wouldn't really help. I take it you are uploading your files via FTP? Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 ummm..no that wouldn't really help. I take it you are uploading your files via FTP? Iklekid <{POST_SNAPBACK}> i'm not sure....i used cpanel to download oscommerce and all the files were there.???? Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 i'm not sure....i used cpanel to download oscommerce and all the files were there.???? <{POST_SNAPBACK}> When i delete one of the products_attributes....the othe one says this when i highlight it: File Type: can't stat `products_attributes.php' (No such file or directory). Link to comment Share on other sites More sharing options...
Iklekid Posted September 3, 2005 Share Posted September 3, 2005 Sound slike the file has got corrupted or something else is wrong with it. Best thing to do is for you to send me your cpanel login details for me to take a look. If you don't want to do that then I suggets you contact you web host for their advice Iklekid Link to comment Share on other sites More sharing options...
Guest Posted September 3, 2005 Share Posted September 3, 2005 Sound slike the file has got corrupted or something else is wrong with it. Best thing to do is for you to send me your cpanel login details for me to take a look. If you don't want to do that then I suggets you contact you web host for their advice Iklekid <{POST_SNAPBACK}> there has got to be another way. Let me explain the problem again: When i go to my admin site and click on product attributes, none of the attributes show up and there is an error. I just need the attributes to show up again? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.