iDEV Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

IDEVSPOT COMMUNITY FORUMS. -----( ( ( NOT FOR OFFICIAL TECH SUPPORT ) ) )-----

Author Topic: Use of undefined constant Errors on Install and when Running  (Read 783 times)

0 Members and 1 Guest are viewing this topic.

peterluck

  • Newbie
  • *
  • Posts: 3
    • View Profile
Use of undefined constant Errors on Install and when Running
« on: March 31, 2010, 06:15:07 AM »
Hi,
I hope someone can help. When I installed bizdirectory using the alternative method I got a lot of errors such as:

Notice: Use of undefined constant THUMBSIZE - assumed 'THUMBSIZE' in E:\HostingSpaces\username\domain\wwwroot\include\global.php on line 45

Notice: Use of undefined constant CURRENCY - assumed 'CURRENCY' in E:\HostingSpaces\username\domain\wwwroot\include\global.php on line 49

Notice: Use of undefined constant DIRECTORYNAME etc etc

I get the same errors when I try to run up my domain name now.

Can anyone help urgently please as I really need to get moving with this.

Many Thanks

Logged

peterluck

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Use of undefined constant Errors on Install and when Running
« Reply #1 on: March 31, 2010, 06:44:08 AM »
Hi. I found a solution that Arron posted in another topic for the problems with Global.php which I have now done and this has resolved most of the errors. I'm still however getting two errors when I go to my website:

Notice: Undefined index: page in E:\HostingSpaces\user\domain\wwwroot\library\fiprotect.php on line 27

Notice: Undefined index: page in E:\HostingSpaces\user\domain\wwwroot\index.php on line 6

And 1 error when I log into the control panel:

Notice: Undefined index: page in E:\HostingSpaces\user\domain\wwwroot\library\fiprotect.php on line 27



Any help would be much appreciated.
Logged

peterluck

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Use of undefined constant Errors on Install and when Running
« Reply #2 on: March 31, 2010, 07:05:57 AM »
OK, I have added the line Arron suggested to global.php and also to the fiprotect.php. Now I don't get any errors but I presume I'm just commenting out or disabling errors.

Now when I connect as a user (not into the admin panel)I just get a blank page with the header displayed showing "Log In", "Account", "My Listings" and "Add Your Business" but nothing else. Is this normal??? The lack of a manual makes this really difficult to work out. Do I now have to configure lots of things before anything happens??

Sorry for probably stupid questions but this is very difficult to know if what I have is right or not.
Logged

arron

  • iDevSpot
  • Administrator
  • Hero Member
  • *****
  • Gender: Male
  • Posts: 1202
    • View Profile
    • WWW
Re: Use of undefined constant Errors on Install and when Running
« Reply #3 on: March 31, 2010, 11:53:53 PM »
please email me for a fix to this issue.
Logged

Join our Facebook Fan Page to receive special offers & update information : http://www.facebook.com/pages/iDevSpot/157097554841