Home / Scripts & Code / PHP Scripts / Search
Based - Google CSE PHP Search Engine ScriptBased - Google CSE PHP Search Engine Script
The Ultimate PHP Search Engine Script Built On Google CSE Average rating of 4.9 based on 33 votesHome / Scripts & Code / PHP Scripts / Search
Based - Google CSE PHP Search Engine Script
The Ultimate PHP Search Engine Script Built On Google CSE Average rating of 4.9153 Support questions or comments
Please login or create an account to post a question or comment.
-
Sep 17, 2022josepham PurchasedHow to add icon on Menu i see icon ID but when i add link to icon is not display
- View 6 more replies
-
Sep 17, 2022MirazMacStudios AuthorOh I see. The script's ajax system treats same domain URLs as their own. I'd recommend you to add the link manually to the site with an target="_blank" attribute. As currently for the menu there is no such option present.
Or you can use a shortlink generator like bit.ly to generate a shortlink to that URL and use it like that. -
Sep 17, 2022josepham PurchasedWhat if i want to open it on the same page
-
Sep 17, 2022MirazMacStudios AuthorThen you can omit the target="_blank" attribute and it should work fine if you add it externally in the templates or use a shortlink.
-
Sep 2, 2022josepham PurchasedHi again this is not an issue or support this is just to ask if this is possible, can you add a form on back end where admin can manually add keywords to show up on search. This can be a search form or input field. Or add permission to disable log to normal user except for admin how can i do this am sure it is not hard.
- View 4 more replies
-
Sep 2, 2022josepham PurchasedIf possible can you point out which file to edit to achieve permission or where its says if log is turn on then keep the search on database
-
Sep 2, 2022MirazMacStudios AuthorFile: src/controllers/Site/SiteController.php
This is the code that does this:
$logSearches = (int) get_option('search_log';
if ($logSearches) {
$queryModel = new QueryModel;
$db = $queryModel->db();
$time = time();
$stmt = $db->prepare("INSERT INTO {$queryModel->getTable()} ( query_term, created_at, updated_at ) VALUES ( :term, :ctime, :utime ) ON DUPLICATE KEY UPDATE query_count = query_count + 1, updated_at = {$time};"
$stmt->bindValue(':term', limit_string(sp_strip_tags($query), 250), PDO::PARAM_STR);
$stmt->bindValue(':ctime', $time, PDO::PARAM_INT);
$stmt->bindValue(':utime', $time, PDO::PARAM_INT);
$stmt->execute();
}
I'm sorry but I can't provide any much more guidance than this you or a developer have to figure out the rest. Thanks -
Sep 2, 2022josepham PurchasedOk. Thanks
-
Aug 26, 2022josepham PurchasedI have come back to point out some things - For the past few weeks i have try to find the issue that cause sleeping process to remain open on MySQL but i never found it, have come to two conclusion either this script was not built to handle too much traffic or their is an extension used that keep the mysql processes open because even if you try to kill the process from the database the process remain active and you get an error. I think even the session saved on var folder can cause this too as imagine you have 2000 people at the same time searching and all the 2000 session saved at the same time and not cleared after user left. I have a script that delete the session after some time but i think this should not be done on search script anyway i dont know much about session but if the is a way to disable session it will be good. Another issue i think can be cause by googlebot, the sitemap on the script is telling google to recrawl the page daily and if you have more than 10,000 search a day this mean googlebot will hit your site 10,000 times a day my site have more than 100,000 search a day and sitemap tell google to recrawl the typed keyword everyday.. You can see the logic. I have 103 split sitemap that is 1000 for each sitemap. I try to disable the log search function but this will not help as google already have the pages on search result . Log story short am trying to find the way to kill sleeping mysql process that remain open if anyone have an idea just post it
- View 3 more replies
-
Aug 28, 2022josepham PurchasedThere is more issue like this - https://programmierfrage.com/items/1040-too-many-connection-in-php-pdo-exception
-
Aug 28, 2022MirazMacStudios AuthorThe script doesn't limit or use this. The script can't do anything to prevent this. The simple concept is, the more your visitor is the more MySQL connections there will be. Your linked article literally says it's determined by the:
set global max_connection=2000;
Flag on server side. Meaning you need to optimize MySQL on the server side. -
Aug 28, 2022josepham PurchasedI dont have a permission to change this but i try to add mysqli_close(); in the end of the file i dont think is going to solve this but i will keep looking for solution.
-
Aug 16, 2022josepham PurchasedThis use to work oky but now it open a lot of database mysql process untile i exceeded the limit of the server, i try to disable the log but it doesn't work i try everything but its seem the script start these process without any use please can you point out where in the script php start database mysql process or did you close the process on that file on not active or not used.
- View 16 more replies
-
Aug 16, 2022josepham PurchasedI try it few weeks ago and now its at 179,390
-
Aug 16, 2022josepham Purchasedit use to be 2 millions queres
-
Aug 16, 2022MirazMacStudios AuthorI bet that has something to do with it. Your MySQL server is simply struggling to manage that much of data. My suggestion would be to clear the entire table. And stop logging the searches.
-
Aug 16, 2022josepham PurchasedThis use to work oky but now it open a lot of database mysql process untile i exceeded the limit of the server, i try to disable the log but it doesn't work i try everything but its seem the script start these process without any use please can you point out where in the script php start database mysql process or did you close the process on that file on not active or not used.
-
Aug 14, 2022rufatkiu PurchasedHow can I custom results page design?
- View 1 more reply
-
Aug 14, 2022rufatkiu PurchasedI want to design the UI like ,is it possible?https://github.com/Ashwin-op/Google-Clone
-
Aug 14, 2022MirazMacStudios AuthorSorry but I'm not a designer and the linked item is a different ecosystem entirely. Any customizations must be made by you or a developer that you hired.
-
Aug 14, 2022rufatkiu PurchasedOk, thanks
-
Aug 12, 2022Beandi PurchasedHello,
An error occurred while loading the administration interface.
Apache error log: "malformed header from script 'thumb.php': Bad header: Cache-Control, referer: https://seen.hu/dashboard/gallery"
And I want to ask:
The information cards are always displayed in English (wikipedia). I want to rewrite the wikipedia link, where can I do it? (I want to use this: https://hu.wikipedia.org/)
THX for support!
Bea
- View 3 more replies
-
Aug 12, 2022MirazMacStudios AuthorStrange. I'm using the same PHP version on Apache server, but I can't recreate your issue.
Please download this thumb.php file: https://drive.google.com/file/d/1qmo4eskuiBfgKD2TOb2Ve3Z4uz6bKiJw/view?usp=sharing
And replace the current thumb.php with it.
And then go to: Dashboard > Settings > Debugging
and enable "Flush Cache" then click Run Actions.
And see if the issue is still present or not.
-
Aug 12, 2022Beandi PurchasedOk. THX for the support!
Nice, it works.
Haven nice day
-
Aug 12, 2022MirazMacStudios AuthorGlad it solved your issue. Stay safe.
-
Aug 12, 2022manimuthu PurchasedThe site was running smoothly, suddenly it stopped and database belongs to the based search engine consumes high amount of server resources and i activated the dev mode and found the following error.
Slim Application Error
Type: ErrorException
Code: 2
Message: Packets out of order. Expected 1 received 0. Packet size=145
File: /home/groupdac/public_html/tg/src/controllers/Site/SiteController.php
Line: 218
- View 2 more replies
-
Aug 20, 2022MirazMacStudios AuthorSorry but it's not about your server. It's about your MySQL server. The script uses very little amount of MySQL. Almost miniscule amount. Hundreds of customers are using it without any issues. After your complaint, I have examined each MySQL queries to determine any issues. But I didn't find any issue with it. My suggestion would be to do a complete re-install of the script and disable search logging entirely.
-
Aug 20, 2022manimuthu PurchasedThe pages become stalled and we are getting 0 error
-
Aug 20, 2022MirazMacStudios AuthorYou're missing the point. Your error "Packets out of order", if you just Google the error, it would be clear to you that it only occurs when the "MySQL server has gone away". Meaning the MySQL server isn't responding aka it's unable to handle the load. If it was a script specific issues, you would see errors related to the script. The slowdown is occurring because the MySQL server is taking the time to return the data. The script only communicates with MySQL only to fetch the site name, logo etc. And when search logging is enabled it would write the logs. That's it.
This is not a issue of the script. I literally can't make it "go faster". The script needs to perform the queries and the MySQL server needs to respond. The script doesn't decide if it's slow or fast. The script only performs read and write and then outputs the data.
You need to provide more resources to your MySQL server. Not just the web hosting. This is called scaling. If the database is your issue. You need to get a proper VPS and use shrading or replicating to distribute the database load. I'm not a sysadmin and that's not my part of the job.
The script only communicates to the database and outputs the data. It uses all the possible optimization. There is nothing more that I can do that can magically make the script faster. If I could, I would do it, trust me.
-
Jul 20, 2022Hi, MirazMacStudios I Have a Problam Plz Chack My Website : ai.maxonis.co
Hare Is Problam Link : https://prnt.sc/vK678jpoHZNV
Plz Chack Fust And Replay -
Jul 20, 2022MirazMacStudios AuthorPlease comment from the account you have purchased the script from.
-
Jul 15, 2022Hi, I couldn't find a way to send you a private message. I also couldn't find their contact information.
Can I get more information about the Extended license? How is the software licensed? Are you licensing the domain specifically? -
Jul 15, 2022MirazMacStudios AuthorIf you click the "View license details" in the sidebar, that should explain the licensing.
Regular License
A regular license allows an item to be used in one project for either personal or commercial use by you or on behalf of a client. The item cannot be offered for resale either on its own or as part of a project. Distribution of source files is not permitted.
Extended License
An extended license allows an item to be used in unlimited projects for either personal or commercial use. The item cannot be offered for resale "as-is". It is allowed to distribute/sublicense the source files as part of a larger project.
TL;DR;
Regular license: can be used by single person/company for a single domain.
Extended License: can be used by single person/company for a unlimited domain.
Information
Category | Scripts & Code / PHP Scripts / Search |
First release | 25 October 2020 |
Last update | 7 February 2024 |
Software version | PHP 7.0, PHP 7.1, PHP 7.2, PHP 7.3, PHP 7.4 |
Files included | .php, .css, Layered .png, Javascript .js |
Tags | responsive |