Giter Site home page Giter Site logo

Comments (17)

shareef009 avatar shareef009 commented on August 24, 2024

This one too ...


Security Risk ! The application config directory "config/" is world readable.
Security Risk ! The application accounts directory "config/accounts/" is world readable.
Security Risk ! The users directory "config/users/" is world readable.
Security Risk ! The application settings directory "config/settings/" is world readable.
Security Risk ! The application backup directory "backups/" is world readable.


from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

For security risk check permission of the folders.

For date() can you add call to date_default_timezone_set() before the line numbers in error.

eg : date_default_timezone_set("Europe/Moscow");

http://www.w3schools.com/php/func_date_default_timezone_set.asp
http://www.php.net/manual/en/timezones.php

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

file :

system/application/helpers/MY_date_helper.php

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

Thanks for the prompt response, i am little confused about where to make the changes and what is the exact path for "date_helper.php" file.

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

system/application/helpers/MY_date_helper.php

before
Line Number: 487
Line Number: 101

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

By the way sorry to inform you that the permission are given to read and write.

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

I guess i have to make changes in two files right ?

  1. date_helper.php : i dont know the exact path (add "date_default_timezone_set("Europe/Moscow");" before line 487 ?)
  2. MY_date_helper.php : system/application/helpers/MY_date_helper.php ( add "date_default_timezone_set("Europe/Moscow");" before line 101 ?)

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

yup

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

system/helpers/date_helper.php
system/application/helpers/MY_date_helper.php

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

system/helpers/date_helper.php : Line Number: 487
system/application/helpers/MY_date_helper.php : Line Number: 101

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024
  1. MY_date_helper.php :
    /*
    case 'dd/mm/yyyy':
    ** date_default_timezone_set("Europe/Moscow"); **
    return date('d M Y', $ts);
    break;
    */

  1. date_helper.php:
    /*
    }
    ** date_default_timezone_set("Europe/Moscow"); **
    return mktime($hour, $min, $sec, $month, $day, $year);
    }

Is this ok ?

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

Great it is working fine now, thanks a lot Sir .. i would like to know more in near future about this program because i have just started using it.So kindly support me. Thanks again

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

join the google group listed on website.

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

I received one more error.


A PHP Error was encountered

Severity: Warning

Message: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for '3.0/no DST' instead

Filename: helpers/MY_date_helper.php

Line Number: 125


A PHP Error was encountered

Severity: Warning

Message: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for '3.0/no DST' instead

Filename: helpers/MY_date_helper.php

Line Number: 137


Do i require to do the same before these lines ?

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

Yes. Let me know if it works.

from webzash-v1-defunct.

shareef009 avatar shareef009 commented on August 24, 2024

It worked, i cant find the link for Google groups. I hope i should not receive any error now.

from webzash-v1-defunct.

prashants avatar prashants commented on August 24, 2024

http://groups.google.com/group/webzash-help/

from webzash-v1-defunct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.