Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 247
Total: 247

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 - spikeweb

Pages: [1] 2 3
1
Support / Error message : The /e modifier is deprecated
« on: June 01, 2015, 01:07:55 pm »
I have recently changed my server and from that time, I get thousands of error messages per hour on my forum using SMF Gallery Pro 6.0.5.

The error message is :
"8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Fichier: /home/path_to_forum_/Sources/Load.php(195) : runtime-created function
Ligne: 3"

I presume that there is a direct link with the Php release installed on the new server ?
Is there any modification to apply to the gallery in order to prevent this message to appear ?

Thanks for your hep,

JC



2
Support / Re: 8: Undefined index: id_picture error in log
« on: June 03, 2014, 12:11:06 pm »
Installed and solved, thanks :)

3
Support / 8: Undefined index: id_picture error in log
« on: June 03, 2014, 09:48:43 am »
Hi,
Just upgraded to latest 5.0.10 release and this is the entry I get in error log for any picture displayed by visitors and members :

8: Undefined index: id_picture
Fichier: mypath/Themes/default/Gallery.template.php (view_picture sub template - eval?)
Ligne: 2338

Any idea to solve the issue ?

Thanks a lot :)

4
Support / Re: SMF Galllery causing MySQL to hang
« on: February 06, 2012, 03:44:53 am »
Implemented the fix this morning, test going on and will let you know ;)

5
Support / Re: SMF Galllery causing MySQL to hang
« on: January 30, 2012, 04:48:55 am »
We implemented the fix and the corresponding query does not cause any problem until now.

But,

This one stills causes MySQL to hang :

Query_time: 622  Lock_time: 0  Rows_sent: 20  Rows_examined: 49299284
SELECT
                               max(com.ID_COMMENT) AS lastcomment, p.ID_PICTURE, p.commenttotal, p.totalratings, p.rating, p.filesize,
                               p.views, p.thumbfilename, p.title, p.ID_MEMBER, m.realName, p.date,
                               p.description, p.mature, v.ID_PICTURE as unread
                       FROM (forum1_gallery_pic as p, forum1_gallery_comment as com)


               LEFT JOIN forum1_members AS m  ON (m.ID_MEMBER = p.ID_MEMBER)
               LEFT JOIN forum1_gallery_usersettings AS s ON (s.ID_MEMBER = m.ID_MEMBER)
               LEFT JOIN forum1_gallery_log_mark_view AS v ON (p.ID_PICTURE = v.ID_PICTURE AND v.ID_MEMBER = 0 AND v.user_id_cat = p.USER_ID_CAT)
                               LEFT JOIN forum1_gallery_catperm AS c ON (c.id_group IN (-1) AND c.id_cat = p.id_cat)
               WHERE (((s.private =0 || s.private IS NULL ) AND (s.password = '' || s.password IS NULL ) AND p.USER_ID_CAT !=0 AND p.approved =1) || (p.approved = 1 AND p.user_id_cat = 0 AND (c.view IS NULL || c.view = 1)))    GROUP BY p.ID_PICTURE
                       ORDER BY lastcomment desc
                       LIMIT 0, 20;

Any new fix ?

Is there any possibility to prevent users not to query the all gallery ?

6
Support / Re: SMF Galllery causing MySQL to hang
« on: January 26, 2012, 01:18:17 pm »
Thanks for fix, testing, will let you know ;)

7
Support / Re: SMF Galllery causing MySQL to hang
« on: January 26, 2012, 12:45:34 am »
SMF is 1.1.16  ;)

8
Support / Re: SMF Galllery causing MySQL to hang
« on: January 25, 2012, 04:31:07 pm »
Please note that it is not 4.0 beta but 3.0.25 ;)

Any chance to get a fix for this specific release as we cannot upgrade to a beta release until it has passed our tests ...

9
Support / Re: SMF Galllery causing MySQL to hang
« on: January 25, 2012, 04:25:50 pm »
Just ran and got this :

id    select_type    table    type    possible_keys    key    key_len    ref    rows    Extra

1    SIMPLE    com    ALL    NULL    NULL    NULL    NULL    2301    Using temporary; Using filesort
1    SIMPLE    p    ALL    PRIMARY,USER_ID_CAT    NULL    NULL    NULL    12100    Using where
1    SIMPLE    m    eq_ref    PRIMARY    PRIMARY    3    npnforum1.p.ID_MEMBER    1    Using index
1    SIMPLE    s    eq_ref    PRIMARY    PRIMARY    3    npnforum1.m.ID_MEMBER    1    Using where
1    SIMPLE    v    ref    user_id_cat,id_picture,id_member    id_picture    4    npnforum1.p.ID_PICTURE    7    

10
Support / SMF Galllery causing MySQL to hang
« on: January 25, 2012, 04:14:47 pm »
Running SMF Gallery for sometime already, I face an issue from a few days where MySQL server hangs due to a SMF Gallery query, as investigated by my sysadmin.

Here is the query wher forum1 is the database:

Query_time: 495  Lock_time: 0  Rows_sent: 11692  Rows_examined: 203822242
SELECT
                               COUNT(*) as total
                       FROM (forum1_gallery_pic as p, forum1_gallery_comment as com)

               LEFT JOIN forum1_members AS m  ON (m.ID_MEMBER = p.ID_MEMBER)
               LEFT JOIN forum1_gallery_usersettings AS s ON (s.ID_MEMBER = m.ID_MEMBER)
               LEFT JOIN forum1_gallery_log_mark_view AS v ON (p.ID_PICTURE = v.ID_PICTURE AND v.ID_MEMBER = 51080 AND v.user_id_cat = p.USER_ID_CAT)
                                       WHERE ((s.private =0 || s.private IS NULL ) AND (s.password = '' || s.password IS NULL ) AND p.USER_ID_CAT !=0 AND p.approved =1) || (p.approved =1 AND p.USER_ID_CAT =0)   AND com.ID_PICTURE = p.ID_PICTURE GROUP BY p.ID_PICTURE;

I have some more queries causing the same default. Available on demand but same structure.

Any idea of what could be the cause of the problem and how to correct it ?

THX a lot for your support,

11
Support / Re: search entire gallery setting ?
« on: June 20, 2011, 11:02:18 am »
Here is the result of the query as requested :

# Query_time: 29  Lock_time: 0  Rows_sent: 1611  Rows_examined: 23626208

Will check your file and let you know ... :)

12
Support / Re: search entire gallery setting ?
« on: June 20, 2011, 09:09:06 am »
SMF is 1.1.14

13
Support / Re: search entire gallery setting ?
« on: June 20, 2011, 08:56:31 am »
oopppss, just realized that phpMyAdmin allows only 30 results to be displayed.

I can ask my server admin to run the full query ...

14
Support / Re: search entire gallery setting ?
« on: June 20, 2011, 08:54:03 am »
I just ran the query from phpMyAdmin as the previous one was read in the server log :

SELECT COUNT( * ) AS total
FROM (
forum1_gallery_pic AS p, forum1_gallery_comment AS com
)
LEFT JOIN forum1_members AS m ON ( m.ID_MEMBER = p.ID_MEMBER )
LEFT JOIN forum1_gallery_usersettings AS s ON ( s.ID_MEMBER = m.ID_MEMBER )
LEFT JOIN forum1_gallery_log_mark_view AS v ON ( p.ID_PICTURE = v.ID_PICTURE
AND v.ID_MEMBER =25659
AND v.user_id_cat = p.USER_ID_CAT )
WHERE com.ID_PICTURE = p.ID_PICTURE
AND (
(
s.private =0 || s.private IS NULL
)
AND (
s.password = '' || s.password IS NULL
)
AND p.USER_ID_CAT !=0
AND p.approved =1
) || ( p.approved =1
AND p.USER_ID_CAT =0 )
GROUP BY p.ID_PICTURE
LIMIT 0 , 30


The answer is : Affichage des lignes 0 - 29 (1 620 total, Traitement en 9.3797 sec.)

in english : display for lines 0 - 29 (1 620 in total, execution time 9.3797 sec.)

did it help ??

Gallery version is 3.0.22

15
Support / search entire gallery setting ?
« on: June 20, 2011, 08:23:56 am »
I checked the forum but did not find an answer. Is there a way to prevent users to search the entire gallery ?

I actually have a gallery with 10000+ images and from time to time, the web server has to handle a long request. The last one is :

Code: [Select]
Query_time: 381
Lock_time: 0
Rows_sent: 10626
Rows_examined: 120771768

SELECT
                               COUNT(*) as total
                       FROM (forum1_gallery_pic as p, forum1_gallery_comment as com)

               LEFT JOIN forum1_members AS m  ON (m.ID_MEMBER = p.ID_MEMBER)
               LEFT JOIN forum1_gallery_usersettings AS s ON (s.ID_MEMBER = m.ID_MEMBER)
               LEFT JOIN forum1_gallery_log_mark_view AS v ON (p.ID_PICTURE = v.ID_PICTURE AND v.ID_MEMBER = 25659 AND v.user_id_cat = p.USER_ID_CAT)
                                       WHERE ((s.private =0 || s.private IS NULL ) AND (s.password = '' || s.password IS NULL ) AND p.USER_ID_CAT !=0 AND p.a
pproved =1) || (p.approved =1 AND p.USER_ID_CAT =0)   AND com.ID_PICTURE = p.ID_PICTURE GROUP BY p.ID_PICTURE;

I wonder how to prevent a guest user/registered user to start search a search.

Pages: [1] 2 3

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal