*

Recent

Author Topic: Script error on my index page  (Read 14808 times)

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Script error on my index page
« on: April 01, 2015, 02:26:31 AM »
rob if you look at my site at the bottom of the page im getting some errors how do i fix them please

bafflinggames.com

Zalka

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #1 on: April 01, 2015, 07:12:27 AM »
Hey zalka123, looks like your directory path is incorrect.

upload this file path.php and run yoursite.com/path.php

then change the setting is admin=>settings

also make sure your path is correct in includes/config.php


am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #2 on: April 01, 2015, 05:34:16 PM »
I see the error changed.

Make sure the file counter.php is in the includes folder - if not add it

On your path make sure you have a trailing slash /

Like => /var/www/vhosts/yoursite.com/httpdocs/

Other option is to remove hit count from templates/monster/blocks/stats.php
Remove this line
Code: [Select]
Total Hits: ';include ("$directorypath/includes/counter.php"); echo '<br />

or send me FTP and i will fix it for you.

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #3 on: April 01, 2015, 06:25:55 PM »
still the same
after putting this code in settings

home/biggerpe/public_html/bafflinggames.com
zalka

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #4 on: April 01, 2015, 06:46:38 PM »
That worked fantastic Thanks alot
zalka

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #5 on: April 01, 2015, 06:52:56 PM »
your path should be => /home/biggerpe/public_html/bafflinggames.com/

if it is not correct you will not be able to switch themes.


zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #6 on: April 02, 2015, 02:35:27 AM »
Working really good one last question how do i change the admins password i cant find it in site settings
Zalka

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #7 on: April 02, 2015, 06:01:56 AM »
Login => My Account => Change Password  8)

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #8 on: April 02, 2015, 05:45:12 PM »
Thanks for all the help site is up and running
zalka

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #9 on: April 03, 2015, 01:17:02 AM »
I dont believe this i just uploaded a game and checked if it was online then i tried to get back into admin but it wont let me i tried everything but no luck i tried to get my password emailed to me but it says zalka123 dosnt exsist so how do i get back into admin
zalka

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #10 on: April 03, 2015, 07:18:06 AM »
I do not see zalka123 as a member of your site.

but run this query in phpmyadmin and it will reset admin password back to default " admin "
Code: [Select]
UPDATE `fas_users` SET `password` = '21232f297a57a5a743894a0e4a801fc3' WHERE `fas_users`.`userid` = 1;

zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #11 on: April 03, 2015, 07:32:01 PM »
how do i  run this query in phpmyadmin   i am  as thick as a brick when it comes to php so i need all the help in doing this sorry
zalka

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Script error on my index page
« Reply #12 on: April 03, 2015, 07:40:31 PM »
Not a problem, Happy to help.
Login to your cpanel => select databases =>phpmyadmin

Select SQL and insert code like, and hit go



zalka123

  • Newbie
  • *
  • Posts: 18
  • Force: +0/-0
    • Great Arcade Games
Re: Script error on my index page
« Reply #13 on: April 03, 2015, 09:42:21 PM »
Worked like dream many thanks
zalka