Search found 17 matches

by SphiderSnow
Sat Dec 15, 2018 2:49 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

So I use Sphider within the framework of my site so I already tweak a bit on file names and content. That said, you can go here to see how it is used - www.createch.cl That will bring you to the Spanish page which is the main one for the business. On all our pages we have the small search area on th...
by SphiderSnow
Thu Dec 13, 2018 8:29 pm
Forum: Sphider Help
Topic: Search language
Replies: 2
Views: 493

Re: Search language

I like to think of these things from both a user and developer perspective. As a user, of course give me more options and all the control. As a developer, I would actually prefer to be able to have a bit more control and maybe just add the language to the ? string of the url with something like lan=...
by SphiderSnow
Thu Dec 13, 2018 8:24 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

So I had not looked back here before I started digging into things on my end and went the route of a similar solution you added on. Not likely as clean and minimal as yours but it also involved just moding some files. So I created a second search.php form page and also search_form.php page just to m...
by SphiderSnow
Thu Dec 13, 2018 3:11 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

I will test this out a bit later. Actually my primary use is for a site in Spanish, but easy enough to tweak your suggestions appropriately. I will follow up and let you know how it goes and respond to your other post about language as I do have some thoughts on that.
by SphiderSnow
Wed Dec 12, 2018 11:10 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

It is working with the old DB.

I was just looking into the language piece, so whatever your recommended tweaks are for that I guess it is time to try them out.
by SphiderSnow
Wed Dec 12, 2018 4:06 am
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

PDO did indeed with just the DB info entered. Going to call it a day on that success but will get to incorporating into my site in the next few days. Thanks for all your effort.
by SphiderSnow
Tue Dec 11, 2018 11:44 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

I will give the pdo version a try this evening when I get back to it and let you know what happens
by SphiderSnow
Tue Dec 11, 2018 10:46 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

So in running this below (combo of my test and yours) I get: "Got Connection" and "Success". So solution is ... <?php $database="XXXXXX"; $mysql_user = "XXXXXX"; $mysql_password = "XXXXXX"; $mysql_host = "localhost"; $mysql_table_prefix = ""; $dsn = "mysql:host=".$mysql_host.";dbname=".$database; $d...
by SphiderSnow
Tue Dec 11, 2018 6:51 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

So I modified that middle snipet that test the connection to $db = new mysqli("p:".$mysql_host,$mysql_user,$mysql_password,$database); if ($db->connect_errno) { trigger_error( "Database connection failed: ".$db->connect_errno, E_USER_ERROR ); } else { echo "Got Connection"; } And I at least get the ...
by SphiderSnow
Tue Dec 11, 2018 5:32 pm
Forum: Sphider Help
Topic: Updating Error
Replies: 37
Views: 3715

Re: Updating Error

That seemed like a possible cause when looking into earlier. Checked all those data points and they are fine. I even tried resetting the password and that made no difference. The only thing I can think of at this stage is the creation of the DB initially I did through the cPanel mysql wizard instead...