Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Web Hosting Support > mySQL & PHP

Notices

mySQL & PHP Discussions, information and help with mySQL and PHP.

Reply
 
LinkBack Thread Tools
  #1  
Old 09-16-2007, 11:48 AM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Search My site script

Added site search box at http://www.affordableweb.biz/search/search.php and I am gettting the following error message...Any Ideas how to correct?

Warning: set_time_limit() has been disabled for security reasons in /home/irishnu/public_html/search/init.php on line 90
..........
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 09-17-2007, 05:26 PM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,528
Send a message via MSN to Karen Mac
Default Re: Search My site script

If you load that page in dreamweaver it will enumerate the line numbers on the left side. I cant access your page to tell you, but it looks like you need to configure something to make that operate correctly, most likely in your config file. Where did you get the script? Did you ask them about the error?

I also got the following errors using advanced:
Quote:
Warning: file_get_contents(/home/irishnu/public_html/PHPDevel/admin/search-engine/template_all.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/irishnu/public_html/search/inc_results.php on line 12

Warning: file_get_contents(/home/irishnu/public_html/PHPDevel/admin/search-engine/template_ind.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/irishnu/public_html/search/inc_results.php on line 13

Warning: file_get_contents(/home/irishnu/public_html/PHPDevel/admin/search-engine/template_cur.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/irishnu/public_html/search/inc_results.php on line 14

Warning: file_get_contents(/home/irishnu/public_html/PHPDevel/admin/search-engine/template_ref.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/irishnu/public_html/search/inc_results.php on line 15

Warning: file_get_contents(/home/irishnu/public_html/PHPDevel/admin/search-engine/template_non.txt) [function.file-get-contents]: failed to open stream: No such file or directory in /home/irishnu/public_html/search/inc_results.php on line 16


Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 09-18-2007, 03:55 AM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,528
Send a message via MSN to Karen Mac
Default Re: Search My site script

BTW.. (In my limited understanding of scripts, I can install them all, I just dont write them, and i edit them, when im told how to, ..) A search function usually has to call upon some database to return the search results. From the errors above it appears that you havent configured the table or database for it to GET results from. Usually on an ecommerce website, it uses the product table descriptions and keyword fields to populate the search results. Some scripts spider your pages and populate a database by word counts etc, and then uses this for its results. Somewhere you have to do some configuration to the install script to get it to do this for you. Not much help i know, but its the best I can do without knowing what you are working with.

Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 09-18-2007, 06:28 AM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,528
Send a message via MSN to Karen Mac
Default Re: Search My site script

I also just realized your path is wrong..

Quote:
/home/irishnu/public_html/search/inc_results.php on line 16
That should be:
/home/irishnu/public_html/yoursite/search/inc_results.php

Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 09-18-2007, 09:39 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,033
Default Re: Search My site script

The path is correct. The script doesn't find the template files. Also, these paths are autocreated during script installation, the user can only change them manually, directly editing the code, and i don't believe Liam has done so (did you, Liam ?).

Now, set_time_limit is ignored and should not create a problem in the script, other than this annoying display (which could be avoided by changing the .ini file)

The other error messages are either path related (but not as Karen has suggested) or simply because these files are simply missing. However, it results very strange to me that the script can use two different folders (/search and /PHPDevel) so i can only suppose that the folder structure required by the script has not been respected.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 09-18-2007, 12:18 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Talking Re: Search My site script

Quote:
Originally Posted by navaldesign View Post
The path is correct. The script doesn't find the template files. Also, these paths are autocreated during script installation, the user can only change them manually, directly eding the code, and i don't believe Liam has done so (did you, Liam ?).

Now, set_time_limit is ignored and should not create a problem in the script, other than this annoying display (which could be changed by changing the .ini file)

The other error messages are either path related (but not as Karen has suggested) or simply because these files are simply missing. However, it results very strange to me that the script can use two different folders (/search and /PHPDevel) so i can only suppose that the folder structure required by the script has not been respected.

Yes, your right, I have set up the database as required and my site was sopidered for the keywords etc. but I did not follow the same folder transfer when transferring all files via ftp.

I will delete and redo later to see if this makes a difference and thank you to yourself and Karen for all your input.

This is the second script that I have got from this website and both have not installed properly and I suspect that this will not either but I will try later and post here to inform you and again thank you both for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 09-18-2007, 05:03 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Default Re: Search My site script

Hi Karen & Naval,

I have deleted the files and uploaded once again and also checked that I entered the database details.

I believe I have correctly edited the files that required the editing but to no avail as error messages are still there.

What am I doing wrong?

Is it something I omitted to do? or is this script incomplete?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 09-18-2007, 09:45 PM
Karen Mac's Avatar
Lieutenant General
 
Join Date: Apr 2006
Posts: 3,528
Send a message via MSN to Karen Mac
Default Re: Search My site script

Well now that I look, Naval is correct, however, i was tired of looking at coding myself.

Is it giving you the same error? And the original error gave a link to some sort of ADMIN.. phpdevel/admin/searchengine.. is this template file hosted by you or elsewhere? If its elsewhere, then, you would be using the passwords to loginto and have access to their site. Can you link to this site where u got the script? or can u post the install or config script, with your info xxx out?

Karen
__________________
KMAC Enterprise
Granny's Country Nook 10%Off, your code: Forum Discounts
Charming Noveltees~Sports Logos Charms, Jewelry, Collectibles- 10% off, your code: VodaHost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 10-01-2007, 12:12 PM
AWS's Avatar
AWS AWS is offline
First Lieutenant
 
Join Date: Jan 2006
Posts: 168
Wink Re: Search My site script

Quote:
Originally Posted by Karen Mac View Post
Well now that I look, Naval is correct, however, i was tired of looking at coding myself.

Is it giving you the same error? And the original error gave a link to some sort of ADMIN.. phpdevel/admin/searchengine.. is this template file hosted by you or elsewhere? If its elsewhere, then, you would be using the passwords to loginto and have access to their site. Can you link to this site where u got the script? or can u post the install or config script, with your info xxx out?

Karen

Hi Karen,

Thanks for taking the time out to answer my question but I have decided to delete and not use the script as this is the second script from the same source that I have had difficulty in using.

Thanks again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 10:55 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55