Installation/Configuration Complete, Index.php Problems!

Installing and configuring Tera-WURFL on your server.

Installation/Configuration Complete, Index.php Problems!

Postby rappadappa77 » Wed Jul 06, 2011 7:52 pm

Hello Guys,

Downloaded, Installed and Configured Tera-Wurfl 2.1.5 on my server, but getting errors when i try to configure my index.php page, can someone help me please?

Howard
rappadappa77
 
Posts: 21
Joined: Wed Feb 02, 2011 1:08 pm

Re: Installation/Configuration Complete, Index.php Problems!

Postby renclav » Thu Jul 07, 2011 2:35 am

what are you errors? Did you look at your apache logs?
Also, configure you index page, what do you mean by that?

Regards
Dylan
renclav
 
Posts: 11
Joined: Thu Jun 23, 2011 4:21 am

Re: Installation/Configuration Complete, Index.php Problems!

Postby kamermans » Thu Jul 07, 2011 9:21 am

I'm assuming from the title that you've gone to the install.php file and everything looks ok. Have you also gone to the admin/ page and clicked on Tera-WURFL test script to see if it's working?
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: Installation/Configuration Complete, Index.php Problems!

Postby rappadappa77 » Thu Jul 07, 2011 10:57 am

Hi Guys,

Yes i added the script and i got an error on line 2, yes i clicked on Tera-WURFL test script and it is working.

Howard
rappadappa77
 
Posts: 21
Joined: Wed Feb 02, 2011 1:08 pm

Re: Installation/Configuration Complete, Index.php Problems!

Postby kamermans » Thu Jul 07, 2011 11:00 am

Howard, how can we help you if we don't even know the error message or what's on line 2?
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: Installation/Configuration Complete, Index.php Problems!

Postby rappadappa77 » Thu Jul 07, 2011 1:10 pm

Warning: require_once(./TeraWurfl.php) [function.require-once]: failed to open stream: No such file or directory in /home/myusername/public_html/mysite.com/index.php on line 2

Fatal error: require_once() [function.require]: Failed opening required './TeraWurfl.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/myusername/php') in /home/myusername/public_html/mysite.com/index.php on line 2
rappadappa77
 
Posts: 21
Joined: Wed Feb 02, 2011 1:08 pm

Re: Installation/Configuration Complete, Index.php Problems!

Postby kamermans » Thu Jul 07, 2011 1:25 pm

It sounds like line 2 of your index.php looks like this:
Code: Select all
require_once './TeraWurfl.php';

but your Tera-WURFL installation is probably in a subfolder, like 'TeraWurfl', in which case the line should be changed to:
Code: Select all
require_once './TeraWurfl/TeraWurfl.php';
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Re: Installation/Configuration Complete, Index.php Problems!

Postby rappadappa77 » Thu Jul 07, 2011 1:29 pm

Will try that.
rappadappa77
 
Posts: 21
Joined: Wed Feb 02, 2011 1:08 pm

Re: Installation/Configuration Complete, Index.php Problems!

Postby rappadappa77 » Thu Jul 07, 2011 1:34 pm

It worked, thanks Kamerman :)

Now i will try to combat the firefox user agent switcher.
rappadappa77
 
Posts: 21
Joined: Wed Feb 02, 2011 1:08 pm

Re: Installation/Configuration Complete, Index.php Problems!

Postby kamermans » Thu Jul 07, 2011 1:38 pm

You're welcome :)

The FireFox User Agent switcher is a complicated problem without a clear solution. If you find a way around it, please let me know!
Thanks,

Steve Kamerman
Tera-WURFL Author
COO of ScientiaMobile

IMPORTANT ANNOUNCEMENT! Tera-WURFL and WURFL have joined forces! We have launched ScientiaMobile to provide commercial support for our device detection solutions.

Tera-WURFL.com | Device Explorer
kamermans
Site Admin
 
Posts: 323
Joined: Wed Mar 10, 2010 12:06 pm
Location: Fort Worth, TX

Next

Return to Installation / Configuration

Who is online

Users browsing this forum: No registered users and 4 guests

cron