ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


error with custom logo


  • 2016-02-27 11:06:35

    error with custom logo

    Hi Greg!

    Into version 2.2.1 is not possible to change the "Custom Logo"; where it says "Use Existing Logo Or" is always the text "custom_logo" link to address "http://<website>/get_custom_logo.php".

    Yes I can change "URL" and "Text Anternative" but not "Upload Custom Logo" to select a new "png", or "jpg", or a "gif" file.

    By applying "Save", will not load the new logo selected (113 x 67 px).

    Perhaps it by ftp upload the logo? In which directory should be installed the new custom logo to use the Theme Blumin? Thank you!

    Best Regards,

    Mario

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version - 2.2.1
    Patch #s applied - ---
    ATutor theme name - Blumin
    PHP version - 5.3.3
    MySQL version - 5.1.73

  • 2016-02-28 08:30:32

    Re: error with custom logo

    As far as I can tell, upload custom logo works as it should using the blumin theme, and others.

    Make sure the web server can write to the content/logos directory.

  • 2016-02-28 12:00:45

    Re: error with custom logo

    The directory can be written "rwx-rwx-rwx" and the file contains only the custom logo "custom_logo.jpg".

    If I change by another image with the same name the problem is not solved; what you see in the screenshot that have attached and if proof is what links "http://...<website>.../get_custom_logo.php".

  • 2016-02-29 06:52:39

    Re: error with custom logo

    I see the problem, however without being able to reproduce the problem, there's not much we can do.

    Custom logo function as it should with all our sites.

    You can try to reproduce the issue on our demo site.
    http://www.atutor.ca/atutor/demo.php

  • 2016-02-29 07:09:16

    Re: error with custom logo

    Please, what is the file or directory I should back up. perhaps there is an error when I upgraded from version 2.2 and there is an error in the code to uncompress the 2.2.1 on my server.

    I also have never had this problem since ATutor has this function.

    Thank you

  • 2016-02-29 09:02:06

    Re: error with custom logo

    Check to see if the file actually uploaded into the content/logos directory. If not, traced the problem from mods/_core/themes/custom_logo.php.

    If the file uploads but does not display, then trace the problem from the get_custom_logo.php file.

    Not sure what you mean by "the file or directory I should backup"

  • 2016-03-02 08:38:01

    Re: error with custom logo

    I have reviewed all files and directories: are in place and have not changed their codes.

    The same problem has appeared when upgrading to 2.2.1 with the image of custom_logo, so now I see with the avatar (image) of the user's profile: do not see what they are uploaded, or are new to upload. The action of the image is made up (it's in the "/content", but not seen on the web).

    The same is happening with the icon of the course. The icons up "properties" are not seen (I reviewed yes uploaded to the server in "/images/content"), except those ".jpg" that are preset in the "/images/courses".

    Now, unexpectedly, the problem is with the database. For example, when the instructor wants to send a message to a registered student alert appears:

    "ATutor was unable to access the database. If the problem Persists, Please report this to an Administrator With This reference date ..."


    And the last problem is that when accessed by a "teacher" or "student" comes the warning:

    [b]"ATutor was unable to access the database. If the problem Persists, Please report this to an Administrator With This reference date ..."[/b]

    Previously all I've done as an administrator is: 1) to create a user account that has confirmed your email, 2) has requested to be enrolled in a course, 3) the instructor has approved and thereafter; then: [b]"ATutor was unable to access the database If the. Persists problem, Please report this to an Administrator With This reference date ... "[/b]

    Is there any way to fix this? If it is raparar or optimize the "database", where it is housed? because I can not find it anywhere on my server.

    I consult: will need to upload everything again begun LCMS and content from a new installation?

    Thank you.

    Best Regards,

    Mario

  • 2016-03-02 09:15:07

    Re: error with custom logo

    When you upgraded, did you unzip the ATutor file first then upload the files via FTP, or did you upload the one zipped ATutor file, then unzip it on the server?

    Create file with phpinfo() in it and send me the details it generates when you open it in a web browser. See:

    https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page

    Do you have an application like phpMyAdmin you can use to access the database? The database file itself would likely be in /var/lib/mysql/, but there is some variation in the location from system to system. It would not be much use though without a database client applicaiton like phpMyAdmin.

    You can also try debugging the following files, using the debug() function. This should help track down where the problem is occurring. See the developer documentation for details on using debug().

    http://help.atutor.ca/developer/guidelines.html#fn-debug

    ATutor/get_course_icon.php
    ATutor/get_custom_logo.php
    ATutor/include/lib/mysql_connect.inc.php


    You can also look at the system's php_errors.log file to see if there are any clues there.

    Also check whether you version of PHP has been updated recently.

  • 2016-03-02 14:42:20

    Re: error with custom logo

    private!