Unable to set any text fields

When I try to set a text field, after I hit apply in the admin screen, the field goes blank and I am unable to store anything in it.

Gallery Title
Gallery Description
Website Title

I did a full delete (except albums and cache) and ran setup and it is still doing the same.
«1

Comments

  • acrylian Administrator, Developer
    How about basic info like server details, Zenphoto version and any errors in the server error log?
  • I created a new database and did a fresh install.

    Now I am unable to log in after setting a username and password.

    here is my error log

    [25-May-2012 05:14:38] PHP Warning: require_once(/home/fdnyfish/public_html/pics/zp-core/global-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/fdnyfish/public_html/pics/index.php on line 4
    [25-May-2012 05:14:38] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/fdnyfish/public_html/pics/zp-core/global-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fdnyfish/public_html/pics/index.php on line 4
    [25-May-2012 05:14:55] PHP Warning: require_once(/home/fdnyfish/public_html/pics/zp-core/global-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/fdnyfish/public_html/pics/index.php on line 4
    [25-May-2012 05:14:55] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/fdnyfish/public_html/pics/zp-core/global-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fdnyfish/public_html/pics/index.php on line 4
    [25-May-2012 05:32:21] PHP Warning: require_once(/home/fdnyfish/public_html/pics/zp-core/global-definitions.php) [function.require-once]: failed to open stream: No such file or directory in /home/fdnyfish/public_html/pics/index.php on line 4
    [25-May-2012 05:32:21] PHP Fatal error: require_once() [function.require]: Failed opening required '/home/fdnyfish/public_html/pics/zp-core/global-definitions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/fdnyfish/public_html/pics/index.php on line 4
  • acrylian Administrator, Developer
    That means your file/folder permissions are not set correctly. Setup should have reported something. Also see the troubleshooting about the recommended settings.
  • you mean my htaccess ?
  • I created a new database and did a re-install. all works fine now
  • Since I created the new database, all appeard fine, until I tried changeing the album thumbnail (to random). Once I hit apply, the album name disappears.

    If i type in a new name for the album and hit apply, the field goes blank. I tried this with 2 other albums and the same thing happens.

    I even tried the original problem of renaming my gallery. It seems that every time I attempt to change a text field I loose it.

    When i do a database restore all is fine, that is until I change a text field then It starts all over again.

    When I make a new album by adding a folder, the folder name appears fine.

    I am running the default theme (same happens with any theme) with zenphoto version 1.4.3-BETA [10311] (Official build).
  • Any errors reported in you server logs?
  • [25-May-2012 06:21:13] PHP Warning:  Division by zero in /home/fdnyfish/public_html/pics/zp-core/template-functions.php on line 1780
    [25-May-2012 06:21:18] PHP Warning:  Division by zero in /home/fdnyfish/public_html/pics/zp-core/template-functions.php on line 1780
    [25-May-2012 06:21:23] PHP Warning:  Division by zero in /home/fdnyfish/public_html/pics/zp-core/template-functions.php on line 1780
    [25-May-2012 06:22:07] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:24:02] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:29:28] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:32:11] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:33:34] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:34:51] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:36:29] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:38:16] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [25-May-2012 06:42:29] PHP Fatal error:  Call to undefined function  printaddthis() in /home/fdnyfish/public_html/pics/themes/zpArdoise/image.php on line 57
    [29-May-2012 17:14:46] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:47] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:52] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:53] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:54] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:54] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [29-May-2012 17:14:56] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 164
    [01-Jun-2012 02:07:41] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 02:12:32] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 02:17:54] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 02:28:06] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 02:30:04] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 02:36:29] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:03:03] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:03:19] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:14:13] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:22:39] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:26:08] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:28:10] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:28:28] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:28:45] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:32:24] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:32:31] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 08:33:24] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 09:02:46] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 09:03:31] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 09:24:52] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 09:31:49] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [01-Jun-2012 10:16:50] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 51
    [01-Jun-2012 10:16:56] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 51
    [01-Jun-2012 10:16:58] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 51
    [01-Jun-2012 10:17:02] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 51
    [01-Jun-2012 10:17:06] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 51
    [01-Jun-2012 10:21:02] PHP Fatal error:  Cannot redeclare getfullpageurl() (previously declared in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php:51) in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 70
    [01-Jun-2012 10:21:08] PHP Fatal error:  Cannot redeclare getfullpageurl() (previously declared in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php:51) in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 70
    [01-Jun-2012 10:21:09] PHP Fatal error:  Cannot redeclare getfullpageurl() (previously declared in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php:51) in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 70
    [01-Jun-2012 10:24:47] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 52
    [01-Jun-2012 10:25:07] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 52
    [01-Jun-2012 10:25:21] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 52
    [01-Jun-2012 10:25:23] PHP Parse error:  syntax error, unexpected T_FUNCTION in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 52
    [01-Jun-2012 14:04:02] PHP Parse error:  syntax error, unexpected '}' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 171
    [01-Jun-2012 14:04:06] PHP Parse error:  syntax error, unexpected '}' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 171
    [01-Jun-2012 14:04:07] PHP Parse error:  syntax error, unexpected '}' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 171
    [01-Jun-2012 14:04:18] PHP Parse error:  syntax error, unexpected '}' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/inc_header.php on line 171
    [01-Jun-2012 14:41:06] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 60
    [01-Jun-2012 14:41:10] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 60
    [01-Jun-2012 14:41:28] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 60
    [01-Jun-2012 14:41:32] PHP Parse error:  syntax error, unexpected '<' in /home/fdnyfish/public_html/pics/themes/i-feel-dirty/image.php on line 60
    [02-Jun-2012 04:35:12] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [06-Jun-2012 13:02:35] PHP Fatal error:  Call to undefined function  printregistrationform() in /home/fdnyfish/public_html/pics/themes/zpArdoise/register.php on line 16
    [10-Jun-2012 06:34:29] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
    [10-Jun-2012 13:17:29] PHP Warning:  array_slice() expects parameter 1 to be array, boolean given in /home/fdnyfish/public_html/pics/zp-core/class-search.php on line 1435
  • acrylian Administrator, Developer
    So what release is this? Note that some of the errors are 3rd party theme related (I feel dirty) which may cause the others (be sure to use the latest version of that theme as VIncent actually updates them frequently). Please try an official theme.
  • I deleted my error log, and set my theme to Garland. I then installed 1.4.3-BETA [10315] (Official build).

    There were no error log created, so there were no errors.

    I attempted to change the name of my gallery in the Options-Gallery screen and again once I typed a new gallery name and hit apply, the entire gallery title disappeared.

    A restore of the database gave me my gallery title back.
  • acrylian Administrator, Developer
    In connection with the other topic I fear it might be something with your server/host. Please post some details about that. Maybe completely what setup reports.
  • What kind of details do you need?

    My hosting is hostgator.com

    Zenphoto version 1.4.3-BETA [10315] (Official build)
    Current locale setting: C
    Current gallery theme: Garland
    PHP version: 5.2.17
    Graphics support: PHP GD library bundled (2.0.34 compatible)
    supporting: gif, jpg, jpeg, png, bmp
    PHP memory limit: 96M (Note: Your server might allocate less!)
    MySql version: 5.5.23
    Database name: fdnyfish_pics
    Table prefix: pics_
    Spam filter: simple
    CAPTCHA generator: zenphoto
  • acrylian Administrator, Developer
    That was the info bascially I meant. Let's stay in this topic as I assume your other topic is surely the same overall issue.
  • could there be some type of "No Write access" to my database?

    I am able to add albums and sub albums and they all appear on my site, so I dont think that is it.
  • Setup does check your MySQL rights. Did it note anything? Also there should be a MySQL log. Anything in it?

    The errors listed above all come from the Zenphoto debug log, not your PHP log. Unfortunately PHP fatal errors will not get logged since the script is aborted. You need to find the server PHP error log.
  • [16-Jun-2012 03:10:58] PHP Fatal error:  Call to undefined function  printregistrationform() in /home/fdnyfish/public_html/pics/themes/garland/register.php on line 42
  • acrylian Administrator, Developer
    Hm that is a function of the register_user plugin but you have to explicity use that page (whcih it is not in standard themes if the plugin is not enabled). Also this should not harm any backend usage like saving...

    Please find the mysql log as well.
  • I have access to a general error log, but there was nothing in there related to my zenphoto, ust a few missing files from another folder that had been removed from a old webpage.
  • bump
  • acrylian Administrator, Developer
    Please don't bump topics and re-read our forum rules. Thanks.

    That we don't answer means we have no idea right now, additionally our chief developer is out of town for a few days.
  • got this from mu hosting company

    Hello and thank you for contacting HostGator support.

    We would be happy to help you. You won't be able to access the mysql log files. We do see that you currently have two databases. Additionally, we have reviewed the log files for you but don't see any errors in the log files. Is there an issue you are experiencing with mysql or a database? If you are experiencing an issue, "Would you please let us know?" We would be happy to help in any way we can. If we can be of any further assistance, please let us know. Thank you.

    Best regards,

    Juan B.
    Linux Systems Administrator
    HostGator.com LLC
  • acrylian Administrator, Developer
    I would suggest to try a reupload of zp-core to be sure that nothing broke on the ftp transfer. Sometimes that thappens. As said I have no idea about your issue right now.
  • What you experience is unique. In addition there seems to be no clues. So I fear we are unable to help.
  • Is it possible to make a change directly in my database ?

    I can see all the tables in cpanel.

    Do you know what tables and lines I would need to change?
  • acrylian Administrator, Developer
    I somehow doubt that this is a mysql issue and the changing anything directly will really help your overall issue. But sadly we did never encounter this.

    Do you have cookies really enabled in your browser? If you have any kind of blocker installed, exclude your site from it please.
  • nothing installed, because when I change the options in admin to random for thumbnails, I do start to see random thumbnails, It's just that I loose all the text on that admin page.
  • acrylian Administrator, Developer
    Sorry, I fear we are running out of ideas. I cannot reproduce this behaviour anywhere.
  • I went into the ALBUMS table via cpanel. All the values in the field named THUMB were set to NULL.

    When I changed the value to 0 (zero) on a particular album, that album now has random photos as thumbnails.

    I did an export of the ALBUMS table and changed all the values to 0 (zero) in the THUMB field.

    Then I imported back into the ALBUMS table overwriting all data.

    Now all my albums and sub albums show random thumbnails like I wanted them to.

    The question now is how do I make that the default? I guess that is in the OPTIONS table.

    any help what field that might be?
  • UPDATE.....

    Looking in the OPTIONS table on line 154 field name "AlbumThumbSelect". The value was set to 1 (which is "Most recent"). That is what my album thumbs were defaulted to.

    I changed the value of this field to 0 (zero) for random.

    I uploaded another album and subalbum and each time i refresh the webpage the thumbnil changes.

    So I am where I wanted to be. Whooooo
Sign In or Register to comment.