| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Suggestions Box for xcart product detail page :) | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Figured it out . Just one last question. When I try to delte a suggestion in the admin area, it goes to a confimation page. Do you have the code for that page?
|
|||||||
#12
|
|||||||
|
|||||||
Hi,
This looks like an awesome mod but I'm having trouble implementing it. I'm using 3.4.9, I think I'm having trouble with the index.php. I tried creating a new folder called suggestions and putting the index.php in that folder. First I put the new suggestions folder under my main directory (store/suggestions) and then i tried putting it under (store/customer/suggestions) After I click submit I get this error: Not Found The requested URL /store/customer/http://www.pointselect.com/store/suggestions/index.php was not found on this server. I don't know what is wrong, I placed a folder called suggesstions under "store" and it has the index.php but for some reason it is not reading it. I also tried going directly to the index.php via: http://www.pointselect.com/store/suggestions/index.php but all that shows up is a blank page. Nothing is wrong the the database side of things, just the index.php, please help me out, this is feature that I really need on my site. Thank you. |
|||||||
#13
|
|||||||
|
|||||||
ok
You have to make index.php under suggestions directory.Because the main rule is for this mod , importing data files html to php bridge with index.php
here is the index.php Quote:
|
|||||||
#14
|
|||||||
|
|||||||
maybe
I guess there might be a problem with the TPL file.
in the form action line you might be wrote Code:
the action must be Code:
Regards |
|||||||
#15
|
|||||||
|
|||||||
I am having trouble getting this mod to work.
I keep getting the following error: Parse error: parse error in /home/.radmilla/libertyb/libertybookshop.com/shop/suggestions/db_connect.php on line 9 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/.radmilla/libertyb/libertybookshop.com/shop/suggestions/index.php on line 39 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/.radmilla/libertyb/libertybookshop.com/shop/suggestions/index.php on line 40 My db_connect.php file (in the suggestions subdirectory) is as follows: <? # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_db_connect = 'myhostname'; $database_db_connect = 'mydatabase'; $username_db_connect ='myusername'; $password_db_connect = 'mypassword'; $db_connect = mysql_pconnect($hostname_db_connect, $username_db_connect, $password_db_connect) or trigger_error(mysql_error(),E_USER_ERROR; ?> I have substituted username/password/database/hostname info with my real info. Lines 39 and 40 from index.php (also in the suggestions subdirectory) are: mysql_select_db($database_db_connect, $db_connect); $Result1 = mysql_query($insertSQL, $db_connect) or die(mysql_error()); I have no idea what I am doing wrong. Thanks for any help you can provide. |
|||||||
#16
|
|||||||
|
|||||||
there might be a mysql version mistake...
you can try in a signle file connection at index.php |
|||||||
#17
|
|||||||
|
|||||||
finally got this mod to work, it's excellent!
I have 2 questions though, after deleting a suggestion in the admin area, it takes you to "confirmation.php" which doesn't exist. Can you tell me a code to put on show.php so that it will redirect back to show.php if a suggestion is deleted. Also, can you tell me a code for "delete all" instead of deleting each suggestion one by one? Thanks a lot! |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|