Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dneibert

Pages: [1] 2
1
Discussion & Troubleshooting / Re: PHP 7
« on: July 18, 2017, 07:58:36 PM »
Thank you so much!  :D

2
Discussion & Troubleshooting / Re: PHP 7
« on: July 18, 2017, 05:36:11 PM »
Hi,

Change the database to mysqli.

Then there should be no error message.

nobby

Thanks for the response but how do I change my database to "mysqli"?

3
Discussion & Troubleshooting / Re: PHP 7
« on: July 18, 2017, 05:07:42 AM »
I have the same issue with PHP7. If anyone could post a fix when they figure it out, that would be great. Thanks!

4
Thanks for the response. I tried looking for all the things you noted. I did not find any. I'll keep trying...


Hello Dneibert,

first check  includes/functions.php for TYPE=MyISAM.
the last few days i have again problems with my website, as you have now but this is not related to MyISAM parameter anymore. I found some php files modified and some code injected.
In your case, check config.php file and maybe you have some code injected at the end of php script, something like
<?php
#e5900a#                                                                                                                                                                                                                                                     
#/e5900a#
?>


i found this injected in: index.php, language/english/main.php, include/page_footer.php and page_header.php also.

I hope this will help you.
All the best
D.R.

5
Hi,

I am having the same problem. I did not change anything on my site. I believe my host just upgraded the SQL on their servers. Here is the error I get:

Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/includes/sessions.php on line 101


I tried this as suggested:
http://www.4homepages.de/forum/index.php?topic=24177.0
but I cannot get the red error message to come up.


I also tried this:
Check all the php files and change "TYPE=MyISAM" to "ENGINE=MyISAM"
but TYPE=MyISAM does not exist in my code anywhere


I also cannot login to my admin area and get this:
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/includes/sessions.php on line 101
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/admin/admin_functions.php on line 179
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/admin/admin_functions.php on line 180
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/admin/admin_functions.php on line 181
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/admin/admin_functions.php on line 182
Warning: Cannot modify header information - headers already sent by (output started at /home/danane5/public_html/stock/config.php:73) in /home/danane5/public_html/stock/admin/admin_functions.php on line 183


Any ideas? You can see the error for yourself here at: www.DanaNeibertStock.com



Thanks,

Dana

6
Thanks!

7
It would be great to make no limit on how many days to view the postcard. I use 4images Gallery for a stock site. So if someone sends a postcard but then wants to look at it a month, they no longer can. I found this code:

if ($action == "sendcard") {
  $expiry = time() - 60 * 60 * 24 * POSTCARD_EXPIRY;
  $sql = "DELETE FROM ".POSTCARDS_TABLE."
          WHERE (postcard_date < $expiry)";
  $site_db->query($sql);

and this code

if ($action == "showcard") {
  $expiry = time() - 60 * 60 * 24 * POSTCARD_EXPIRY;
  $sql = "DELETE FROM ".POSTCARDS_TABLE."
          WHERE (postcard_date < $expiry)";
  $site_db->query($sql);

What do I change to make the time unlimited for viewing?

8
Thank you so much! It works great!

9
Is there any way to make it do what I need to do? I will have a project coming up where I will be adding hundreds of images a day. I don't want to have to edit each image in order to make the link for the bigger download. Any suggestions?

10
Sorry! I have inserted the code as you noted. Then I uploaded my three files to their respective locations. Then I used check new images to import them to the gallery. But only the thumbnail and preview pictures are importing. The download link still just downloads the preview image and not my large image. When I go to edit the image to check to see if it inserted the download link, it has not. Any thoughts?

11
Thank you very much for the help. But it is not working for me. I don't know if this matters, but I manually upload my images via FTP. Thumbnails to thumbnail folder, preview to media folder, and then the larger image to the 1200 folder. Then I used the check new images function. But it is not working. Any thoughts?

12
Hi, I have tried to get the answer to this in the forums but no one seems to know the answer. I need the following done:

For my gallery, I need 3 files for each image:
1) A thumbnail—done.
2) A jpeg preview—done.
3) And then for the download, I want it to link to a larger file. But right now I have to manually go in type in the URL for the download file for every image. I would like it to populate that area automatically when I import images. Please tell me how much it will cost for this modification. Thanks!



13
Right now when I use the "Check New Images" function, I have to enter nearly the same data for two of the fields. How can I make it automatic? Here are the two items:

I always have a larger download for every file so I would like the "Download URL" field to always be filled in for new images with:
/home/danane5/public_html/stock/data/1200/(name-of-new-image-goes-here.jpg)

In the "Description" I always want it to be prefilled with:
Model Release: NA
Property Release: NA


What code do I need to change so that it always does these?

14
Discussion & Troubleshooting / How often to Rebuild the Search Index?
« on: June 30, 2009, 07:38:13 AM »
Should I only rebuild the search index if I am having problems or should I do it on some kind of regular basis? What are the benefits of doing so?

15
Discussion & Troubleshooting / Re: Search/Show all images
« on: June 18, 2009, 09:59:32 PM »
Thank you so much! That's exactly what I needed and for some reason I couldn't find it when searching the forums. :o

Pages: [1] 2