*

Recent

Author Topic: Error on script....  (Read 4377 times)

rkurnia

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
Error on script....
« on: October 27, 2009, 05:14:11 PM »
I have installed the latest version of the v2
but when I install a script error in function.php

this is screenshot


or can see on my site  www.gamesonlinetoplay.info

please help to fix that?

thanx anymore
« Last Edit: October 28, 2009, 07:45:52 AM by rkurnia »

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Error on script....
« Reply #1 on: October 27, 2009, 07:46:11 PM »
That error is telling me you need to properly edit all the info in the file /includes/config.php

Try adjusting it and it should work.

Thanks!


Edited in:
Try changing it to read

/home/pamanhos/public_html/GAMESONLINETOPLAY.INFO/cache

The directory must exist and be chmod to 777. but it should work if I'm reading the error correctly.
« Last Edit: October 27, 2009, 07:51:41 PM by Freddy Kruger »

rkurnia

  • Newbie
  • *
  • Posts: 3
  • Force: +0/-0
Re: Error on script....
« Reply #2 on: October 28, 2009, 07:54:53 AM »
im find other error....
================
Warning: Invalid argument supplied for foreach() in /home/pamanhos/public_html/GAMESONLINETOPLAY.INFO/templates/default/base_home.php on line 44
===================
and
============
Warning: include() [function.include]: Failed opening '/home/hostingaccountname/public_html/includes/counter.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pamanhos/public_html/GAMESONLINETOPLAY.INFO/templates/default/template.php on line 223
===================

where i can change $directorypath ?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Error on script....
« Reply #3 on: October 28, 2009, 10:40:03 AM »
The directory path that is set to '/home/hostingaccountname/public_html' is only found in that one file, /includes/config.php down near the bottom. It needs to be edited properly, to your own hosting account.

There is another directory path setting in the admin section under site settings that also needs to be changed. This error does not apear to be a function of that though.

It looks like you have not properly set up the cache directory. It needs to 1) exist, 2) be properly declared in the above mentioned file, and 3) have permissions chmod to 777, or it will not function. If it is not set up properly, it spits out error messages that looks just like those ones, right where they are.

If you need help in editing it, I might be able take a look at it later on. You would need to send me your cPanel/FTP login info via PM for me to do it.

lign

  • Newbie
  • *
  • Posts: 1
  • Force: +0/-0
Re: Error on script....
« Reply #4 on: November 19, 2009, 12:53:38 PM »
Hello I have the same error but I need help.  Can you fix me that error?

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Error on script....
« Reply #5 on: November 19, 2009, 02:09:59 PM »
Hello I have the same error but I need help.  Can you fix me that error?

Pm me your cPanel/FTP login info and I will try to take a look at it later this afternoon or evening.