*

Recent

Author Topic: loads for errors on my web site!!!  (Read 5927 times)

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
loads for errors on my web site!!!
« on: March 30, 2010, 01:39:29 AM »
(i have a two web site on the same web server)

The web address is:http://test-web.site50.net

i can still can go on games and login but they is loads of errors all over the site


Please Help Me!
« Last Edit: March 30, 2010, 03:52:45 PM by JShaw »

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Can Not get my website to install!!!
« Reply #1 on: March 30, 2010, 02:05:43 AM »
Sounds like you have not edited the file /includes/config.php

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
Re: Can Not get my website to install!!!
« Reply #2 on: March 30, 2010, 03:49:28 PM »
it is fix
 but more errors

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: loads for errors on my web site!!!
« Reply #3 on: March 30, 2010, 04:58:27 PM »
Yea, it looks like you still need to do some work on it.

It looks like you need to set permissions on some folders and files.

It also looks like you need to have some categories made, and set active, and some games uploaded, and set active.

Some hosts do not allow you to include some files, so some of the script dealing with the counter might never work on that host. If that's the case, you have a choice of not using it, or getting a different host that does.

Then, depending on the cache life you set in your config file, it might take 15 minutes to update to no errors. I tend to set the cache life to 1 second in the config file while setting up and debugging, then set it back to 15 minutes when finished.

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
Re: loads for errors on my web site!!!
« Reply #4 on: March 31, 2010, 04:17:46 PM »
i fix the big error but two are stil ther

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: loads for errors on my web site!!!
« Reply #5 on: March 31, 2010, 06:33:45 PM »
The big error I see is caused by you having no links in the database. If you put in a couple links, the error on the links page should disappear, and in order to make the sitewide error  on the links box on the side disappear, there must be at least one link designated as sitewide. Then there should be something in the database to feed into the script and those errors should disappear.

Were there other errors that I did not see?

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
Re: loads for errors on my web site!!!
« Reply #6 on: April 03, 2010, 08:30:26 AM »
The big error I see is caused by you having no links in the database. If you put in a couple links, the error on the links page should disappear, and in order to make the sitewide error  on the links box on the side disappear, there must be at least one link designated as sitewide. Then there should be something in the database to feed into the script and those errors should disappear.

Were there other errors that I did not see?

the errors on the home page

Adam LaCombe

  • Sr. Member
  • ****
  • Posts: 433
  • Force: +17/-0
    • My Blog
Re: loads for errors on my web site!!!
« Reply #7 on: April 03, 2010, 10:11:15 AM »
Just run this:
Code: [Select]
INSERT INTO `dd_links` (`ID`, `title`, `url`, `hits`, `dateadded`, `activate`, `IPaddress`, `linkbackreq`, `linkbackat`, `emailaddress`) VALUES
(2, 'Free Arcade Script', 'http://freearcadescript.net', 0, '1239646822', 2, '97.114.113.112', 1, '', '');
and that should fix it.
« Last Edit: April 03, 2010, 12:16:41 PM by Adam »

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: loads for errors on my web site!!!
« Reply #8 on: April 03, 2010, 03:11:33 PM »
The big error I see is caused by you having no links in the database. If you put in a couple links, the error on the links page should disappear, and in order to make the sitewide error  on the links box on the side disappear, there must be at least one link designated as sitewide. Then there should be something in the database to feed into the script and those errors should disappear.

Were there other errors that I did not see?

the errors on the home page


Yes. The main error I see on the home page is caused by no sitewide links. You must go into the admin panel and set a link as sitewide. To set a link as sitewide, set activate to "2" and it should show up on every page, and that error should disapear.

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
Re: loads for errors on my web site!!!
« Reply #9 on: April 03, 2010, 04:50:48 PM »
I still have one error on the home page but no one can see it so it is fix  

so i am geting deleting my old av arcade and puting the Free arcade Script on it at http://fgland.comze.com.


thank you for helping me

« Last Edit: April 03, 2010, 04:53:57 PM by JShaw »

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: loads for errors on my web site!!!
« Reply #10 on: April 03, 2010, 07:09:04 PM »
You're right, I'm not seeing it. Then again, I seem to be half blind lol. What is the error I'm missing?

JShaw

  • Newbie
  • *
  • Posts: 11
  • Force: +0/-0
Re: loads for errors on my web site!!!
« Reply #11 on: April 04, 2010, 03:12:37 AM »
The error is on the Home page

and this is the error

Warning: Invalid argument supplied for foreach() in /home/*******/public_html/templates/default/base_home.php on line 17

And the new web url is http://fgland.comze.com

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: loads for errors on my web site!!!
« Reply #12 on: April 04, 2010, 03:58:24 AM »
In the copy I'm working with, that has to do with categories. It's looking for active categories in other words. You probably have a couple loaded into the database, but none activated. That again is done through the admin panel.

The whole thing behind seting up things not activated was to allow the admin of a site to get things situated, and verified, before taking it live. That way, less embaresing bloopers. So, categories need to be activated after making them. Makes you look at the spelling a second time, and gives you a chance to upload games into it so they don't look empty at first.

The games are set inactive so that you can verify that they were uploaded without a glitch, and if they were uploaded by somebody else, you can check to make sure that they are not something you don't want on your site, and can download a backup. There was also a script in the works to auto activate some each day to make it look like you were busy on the site even if on vacation lol.

Both games and categories  can be changed to be active by default though phpMyAdmin if you wish, by changing the default in that field to '1' instead of '0'.